Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Firefox Mozilla Programming Software

How Maintainable Is the Firefox Codebase? 127

An anonymous reader writes "A report released this morning looks at the maintainability level of the Firefox codebase through five measures of architectural complexity. It finds that 11% of files in Firefox are highly interconnected, a value that went up significantly following version 3.0 and that making a change to a randomly selected file can, on average, directly impact eight files and indirectly impact over 1,400 files. All the data is made available and the report comes with an interactive Web-based exploratory tool." The complexity exploration tool is pretty neat.
This discussion has been archived. No new comments can be posted.

How Maintainable Is the Firefox Codebase?

Comments Filter:
  • So? (Score:5, Insightful)

    by ShanghaiBill ( 739463 ) * on Wednesday May 15, 2013 @12:56PM (#43733033)

    It finds that 11% of files in Firefox are highly interconnected

    Figures like this would be more useful if they were put in context. What is a "normal" level for connectedness? What is the level for the Linux kernel, or for GCC? Compared to other similar sized projects, is 11% good or bad?

  • Re:So? (Score:5, Insightful)

    by hedwards ( 940851 ) on Wednesday May 15, 2013 @12:59PM (#43733075)

    Normal probably isn't so useful here, but it would give some context. 11% of files being highly interconnected could be a sign of incompetence on the part of the developers, or it could be a sign that they're engaged in sound design by splitting off commonly used methods into their own files and treating them as libraries.

    I'd suspect that the latter is the case here.

  • Re:Fork (Score:5, Insightful)

    by hedwards ( 940851 ) on Wednesday May 15, 2013 @01:01PM (#43733095)

    You know that you don't have to load things in tabs if you don't want to, right? And I highly doubt that you're going to have any meaningful performance improvements by loading up different windows. Plugins are there for every browser and the worst offenders tend to be things like Flash which aren't always easily avoided. Extentions themselves aren't usually a problem if you don't install badly behaving ones. And many of them do actually help out with performance, noscript anybody?

  • by Anonymous Coward on Wednesday May 15, 2013 @01:24PM (#43733345)

    OK let's start with:

    noscript anybody?

    I loaded it. And every single website I use - like my library, credit union, broker, SLASHDOT, Amazon, etc ... will not work correctly without their scripts running. I can't even login without having to "Allow all scripts''

    Why "Allow all..." because, every goddamn website calls a myriad of different other websites for god knows what the fuck they're doing.

    I TRIED to selectively whitelist websites and all I got was half functional shit- and not being able to access my account many times.

    I mean really Web "Engineers" - WTF?!?!

    It seems that every one of you point call asshole like google analytics and other advertizing shitholes.

    And this social media shit. I mean really, do you have to have those stupid fucking buttons for Facebook, Google+, and every other narcissistic fucking web site out there?!?

    Hey kids! Wanna get rich quick!?

    Start your own business that caters to societies insatiable need for narcissism: See Apple, Harley Davidson, every luxury car or product maker out there, Facebook, Google+, every goddamn reality show, people registered on Slashdot, the real loosers who are registers under their Google+ or Facebook accounts, ....

    Appeal to people's vanity and get rich.

    At least the Christian myth about Satan is correct: people are suckers for the 7 deadly sins.That's how to get rich! Follow Satan!

    See every TV preacher that has ever existed

  • by DrStrangluv ( 1923412 ) on Wednesday May 15, 2013 @01:48PM (#43733613)

    ... that have no meaning at all.

    Impacting 8 files on average would be horrible... for a project with 8 files. But how many is that relative to the size of Firefox?

    11% of files in Firefox are highly interconnected... but how does that compare to other projects of similar scope?

    The one value in that summary that had any meaning at all was the comment that the percentage of interconnected files "went up significantly following version 3.0". That at least has some relative measure we can use as a base.

  • Re:So? (Score:3, Insightful)

    by Anonymous Coward on Wednesday May 15, 2013 @01:59PM (#43733743)

    Not only that. The number is entirely meaningless, if we don't know *how* they are interconnected.

    If they are interconnected through a well-defined and stable interface, they can be connected as much as they want... it doesn't matter!

    What counts is the *modularity*! How much can you treat everything as independent modules? How much can you change the *implementation* without causing trouble.

    Because if they are cleanly separated that way, they are no different from being completely separate projects or programs.

    It's when things become "frameworks" that all the alarm bells go off.

  • by NotBorg ( 829820 ) on Wednesday May 15, 2013 @01:59PM (#43733751)

    Hasn't that been played out yet?

    Nope. Trolls echo forever.

I find you lack of faith in the forth dithturbing. - Darse ("Darth") Vader

Working...