Monday, February 2, 2015

More languages supported

I was recently reading on dice.com about some obscure scripting languages (Scripting Languages you may not Know) and wanted to see if EZ-Metrix could count their source lines. This led me to read more in an article "The Next Big Programming Language You've Never Heard Of" about scripting languages in Wired Magazine. After only a few minutes to setup a new rule, EZ-Metrix was able to count all of the languages listed below:
  1. Candle: CandleScript is another single-developer scripting language. Developed by Henry Luo, Candle was built to solve issues with processing any hierarchical data.
  2. D: D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.
  3. Papyrus: Papyrus is an entirely new scripting system created specifically for the Creation Kit.
  4. PIKT: PIKT® is cross-categorical, multi-purpose software for monitoring and configuring computer systems, administering networks, organizing system security, and much more.
  5. Swift: Apple's language Swift is a new programming language for iOS and OS X apps that builds on the best of C and Objective-C, without the constraints of C compatibility. 
  6. Wolfram: The Wolfram Language (popularly referred to as Mathematica, or simply M) is a general multi-paradigm programming language developed by Wolfram Research, that serves as the main interfacing language for Mathematica and the Wolfram Programming Cloud.
  7. Wren: Wren is a class-based concurrent open-source scripting language written in about 5,000 lines of C by ex-games programmer Bob Nystrom, author of the Games Programming Pattern book.
EZ-Metrix now supports 88 programming languages! See if yours in on the list.

Wednesday, January 21, 2015

Arduino Sketch support

Are you a hobbiest involved with the Arduino family of microcontroller boards? Most Arduino scripts are relatively short and sweet. However, the potential exists to build quite large and extensive projects with the Arduino Sketch language. If you need to know exactly how much Sketch you have created, you're in luck - EZ-Metrix supports Arduino Sketch language. Because "The Arduino language is based on C/C++" (according to the Arduino Reference), it can be counted with an EZ-Metrix rule like C++.

The example below (borrowed from the Arduino website, http://arduino.cc/en/Tutorial/Blink) serves as an example. EZ-Metrix counts this file (with a C++ rule); 9 lines of code, 4 blank lines and 11 comments, for a total of 24 lines.

Let me know if you're using EZ-Metrix on your Arduino Sketches (email me).


/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.

This example code is in the public domain.
*/

// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

Thursday, December 4, 2014

EZ-Metrix version 4.1.0.3 released!

We're pleased to announce a "better, faster and cheaper" EZ-Metrix.
What's New?
1. The Comparison feature now uses a more accurate and 33% faster algorithm (Levenshtein Distance).
2. The Difference threshold feature now works as a percentage of the line, instead of a fixed number of characters.
3. The Price has been reduced to attract new users...now only $9.95 per month, or $49.95 per year.
4. The first month is still FREE.
5. Now, EZ-Metrix supports more than 80 programming languages are supported (and counting).
6. New help system, now with complete definitions of all measures.
7. Updated User Guide, Admin Guide and Overview slides.

Now also on facebook! Stop by and say "like."

Many Thanks!
Thanks to Jason Jones and his team at Creative Software Services for their support on this project!
Thanks also to Mike Mah (QSM Associates) for the inspiration for this new version.

Sunday, October 26, 2014

Levenshtein Distance detects differences in lines of code

After chatting with a colleague Michael Mah about the finer points of code counters a couple weeks ago, I've been studying ways to detect differences between 2 lines of code for my EZ-Metrix product.
The problem is not simply to detect differences of any kind, as this could be accomplished by a simple string compare (e.g., does string A = string B?). The challenge is in deciding if the extent of the differences between the lines constitutes, in effect, a completely new line of code. In other words, at what point does the accumulation of differences between two lines of code exceed what one might characterize as 'changes' to the point where the line is considered brand new?
This research has revealed a solution called the Levenshtein Distance (LD) algorithm (en.wikipedia.org/wiki/Edit_distance). In simple terms, the LD is essentially the minimum number of character edits (adds, modifies or deletes) that it takes to change string A into string B. If applied to a code counter, this LD value could be used along with a threshold value to decide if a line of code has been modified (LD value below a threshold), or is new (LD value above a threshold).
In EZ-Metrix, I plan to implement a % threshold, which gives the user a (configurable) way to set their own difference threshold, which is relative to each line's length. This way, short and long lines get treated the same, with respect to characterizing the line as either modified or new. An EZ-Metrix user may want to choose a threshold value of, for example 75%, which would count a line as new, if the number of changed characters exceeds 75% of the number of characters in the original line. Otherwise, the line would be counted as modified.
In the near future, a new version of EZ-Metrix (v5.0) will be released, which implements LD, among other improvements.
I'm hopefully this improvement will be embraced by the industry.

Monday, September 1, 2014

EZ-Metrix for Windows?

After 6 years in the field, EZ-Metrix v4.1 has produced many comments from over 500 users. Now, finally we're considering taking action on these comments.
What's on the drawing board? A version of EZ-Metrix for Windows.
This "v5.0" will incorporate many of the features our users have been asking for:
1. Run locally, with no need to connect to the internet to measure source code.
2. Support more programming languages.
3. Support languages with complex rules (e.g., PHP).
4. Ability to delete individual reports (Admin only).
5. Support languages with multiple comment delimiters (e.g., JSP).
6. Improve the difference threshold from characters to percent.
7. Repair defects in the comparison algorithms.
If you have additional requested improvements for EZ-Metrix, let us know! We'll do our best to include as many as possible.

Thursday, April 5, 2012

EZ-Metrix measures Google's Go language

Several news stories emerged recently about Google's programming language called Go. Although Go has been around since 2007, it has gained credibility recently because of it's fast compilation, automatic semicolon insertion, multi-core CPU support and relatively simple syntax.

Background:
According to Wikipedia: "Go is a compiled, garbage-collected, concurrent programming language developed by Google Inc. The initial design of Go was started in September 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. Go was officially announced in November 2009. In May 2010, Rob Pike publicly stated that Go was being used "for real stuff" at Google. Go's "gc" compiler targets theLinux, Mac OS X, FreeBSD, OpenBSD and Microsoft Windows operating systems and the i386, AMD64, and ARM processor architectures."


Hello World sample code:
package main   
import "fmt" //text formatting package   
func main() {         
 fmt.Println("Hello, World") 
 }

Go and EZ-Metrix:
Because the Go language specification defines both a single-line comment delimiter (//) and a multi-line comment delimiter set (/*, */), EZ-Metrix has no trouble measuring the size of Go source code.

Conclusions:
If you're using Go on your next programming assignment (or inherited someone else's Go source), "Go" ahead and measure its size with EZ-Metrix. A free evaluation of EZ-Metrix is available at www.ez-metrix.com.

More:
Additional information about Go can be found at the official Go website: http://golang.org/

Friday, July 29, 2011

Mil & Aero Magazine features EZ-Metrix

In a July 5, 2011 article, author John Keller lists the company that invented EZ-Metrix®, James Heires Consulting, Inc. in an article about software verification tools.

"Because code counters like EZ-Metrix are routinely used in highly analytical tasks such as software verification, it stands to reason that the Military and Aerospace industries are interested in EZ-Metrix", said President James Heires, PMP.

The full Military & Aerospace Magazine article entitled: "Mathematical proof techniques, automated requirements tracing lead trends in software verification tools" can be read in full here: (http://www.militaryaerospace.com/index/display/article-display/9346321286/articles/military-aerospace-electronics/exclusive-content/2011/7/mathematical-proof.html)

Tuesday, July 26, 2011

EZ-Metrix now available on Download.com

WELCOME TO UPLOAD.COM


You have arrived at the most powerful trial software promotion service available anywhere. Serving over 27,000 publishers, representing 35,000 products and 132 countries around the world, our product library generates over 2.5 million downloads each day. This unmatched exposure comes from powering a growing network of download distribution sites, which reaches a combined total of over 38 million unique users per month.


Monday, July 25, 2011

EZ-Metrix now available on Brothersoft

EZ-Metrix® is a source code metrics utility with a difference!

It's like a tape measure for your software... EZ Metrix Source Code Counter

With an easy Internet-based interface, multiple language support and flexible licensing features, you will be up and running in minutes with the EZ-Metrix code counter. Measure software size from virtually all text-based languages and from any platform or operating system with the same utility. Source code metrics are stored in our internal database and may be exported for further analysis. The EZ-Metrix LOC counter supports software development estimates, productivity measurement, schedule forecasting and quality analysis (CMMI, ISO).

FREE 30-day trial available at www.ezmetrix.com

BrotherSoft served the customers as one of the leading software download website worldwide since July 2002. Over 250,000 freeware and shareware are for free download which covers 7 channels including Windows, Mac, Mobile, etc. There are more than 10,00,000 downloads every day on our site.

Multi-language portals including Japanese, German, Russian, French, Spanish to meet the software need of Non-English speaking country customers.

Since 2008, we implemented Akamai’s Electronic Software Delivery and Dynamic Site Accelerator solution with globe servers in more than 60 countries worldwide to keep high-speed download.

Saturday, October 3, 2009

EZ-Metrix to be featured on Quality Conversations


Steve Wilson, a colleague and fellow measurement practitioner, hosts a radio program called Quality Conversations: The Global Voice of Quality. Mr. Wilson's program is available on the Blog Talk Radio website. Steve has hosted many notable experts in the quality industry in the past, and hosts a website called Quality By Design.

Now, EZ-Metrix gets the spotlight, in a show entitled EZ-Metrix: A Web-Based Code Counting Utility. Steve and I will discuss software quality, how metrics can support a software quality initiative, and why software size measurement is missing from most Fortune 500 companies' Key Performance Indicators. And finally, how EZ-Metrix can help to fill the void left by these complex industry dynamics.

This is a recorded show, and is available for immediate download here.

Looking forward to your comments, questions and quality conversations.

Regards,
James

Friday, October 17, 2008

FW: TechRepublic Blogs: 10 questions to ask before migrating to Linux

From: James T. Heires, PMP [mailto:jtheires@netins.net]
Sent: Thursday, October 16, 2008 10:09 PM
To: James Heires
Subject: TechRepublic Blogs: 10 questions to ask before migrating to
Linux

http://blogs.techrepublic.com.com/10things/?p=424

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.173 / Virus Database: 270.8.1/1730 - Release Date:
10/17/2008 8:07 AM

Friday, July 25, 2008

EZ-Metrix v4.1 Ready Now!

The latest and greatest EZ-Metrix is now ready for immediate enjoyment...
Our development team has worked hard or weeks to bring you the latest product enhancements.
EZ-Metrix now boasts the following new comparison mode features:
1. Detailed line counts are now reported for added files
2. Detailed line counts are now reported for deleted files
3. Counts of changed lines of code and comments are more accurate than ever
4. Performance is up to 10% faster than v4.0

We hope these changes make your work more productive and efficient. Drop us a line when you have a chance to look over the new version - we love to hear from users.

Friday, July 18, 2008

EZ-Metrix enhancements coming soon.

The next release of EZ-Metrix (v4.1) is now under development. Included in this release are two changes that are sure to please most users.

1) Comparison line counts for added and deleted files. This new feature will report measures for all comparison categories, if a file is either added or removed from a baseline list. In other words, if a file is added to an existing list of files, for example, then EZ-Metrix will report how many files, lines of code and comments were added.

2) Comparison changed lines more accurate. A combination of factors may be encountered that could throw off EZ-Metrix' code counting engine, resulting in changed line counts that are incorrect. This enhancement will correct this situation, so that changed counts are correct.

We hope you value these changes, and become a better practitioner, as a result.

As always, keep those cards and letters coming - we value your feedback!

Regards,
The EZ-Metrix team.

Tuesday, February 12, 2008

Updated EZ-Metrix User Guide and Admin Guide available.

Commensurate with the v4.0 release of EZ-Metrix, we have made available updated versions of the User Guide and Admin Guide.

These documents are available on the EZ-Metrix website now, and should be consulted for general how-to information, as well as in-depth discucssions of metrics definitions and how to analyze the results you get from EZ-Metrix.


Enjoy!
-- the EZ-Metrix team

Sunday, February 3, 2008

EZ-Metrix V4.0 is finally here!

After a long-anticipated wait, EZ-Metrix version 4.0 is finally available!

New features in EZ-Metrix include:
  • Improved performance - more than 9 times faster than previous versions!
  • Easier to obtain a free evaluation license.
  • New and improved site design.
  • Pre loaded with rules for dozens of popular languages.
  • More control over user accounts, rules and reports.

Come give us a try. Or if you haven't tried EZ-Metrix yet, what are you waiting for?


ez-metrix.com













Many Thanks!
This release wouldn't have been possible without the direct involvement of Jeff, Roger, Atul, Dmitry, Mahmoud, Sajid, Humayun, and my wife Christine.
Thanks also to client feedback, this product is stronger, faster and better than ever!

Monday, February 26, 2007

New Features coming...

With a new version of EZ-Metrix in the works, it would be a good time to share some of what is coming in the next version. Although there are many improvements coming, I'll only share the BIG ones here, to keep this blog short and sweet.
  1. Comparison measures will be approximately 9 times faster. The measurement algorithms have been optimized for speed, resulting in a much faster session, without compromising accuracy. Now, if you have a large number of files to compare, your job will be done much faster.
  2. Non-comparison measures will be approximately 7 times faster.
  3. Changed Lines measure (which currently includes both SLOC and comments) will be separated into two measures (Changed lines of code and Changed lines of comments). Don't worry - the legacy Changed Lines measure will be carried forward to stay reverse-compatible with earlier versions...
  4. A set of rules will come pre-configured on all new accounts, saving you the trouble of having to create rules for every programming language you need. The default rule set will include dozens of popular languages supported by EZ-Metrix, which again, will make your job easier.
  5. Rules can be deleted (Admin only). This allows you to reduce the list of supported languages, or to remove an erroneous rule. Since rules are shared across all accounts at a company, this feature is limited to your Admin only.
  6. Restrict Database Purge feature to Admins only. This reduces the likelihood of accidental purging of your data.
  7. Redesigned UI. The aim here is to clean up the interface, and make it easier to use.

We hope you enjoy these new features. Please keep the suggestions coming, since we do listen to your feedback when we implement improvements to EZ-Metrix. Your suggestions count!

Regards,

James

Monday, January 22, 2007

Welcome to the EZ-Metrix® blog!


Dear EZ-Metrix friends,

Welcome to my brand new web log! I'm glad you are interested enough to visit and hopefully contribute to the discussion. The purpose of this blog is to discuss the EZ-Metrix product and related topics.

EZ-Metrix was conceived and developed and is owned by James Heires Consulting, Inc. You can read all about the product here or buy it here (you can also get a FREE evaluation license) !

EZ-Metrix is a web-based code counting utility for people who develop software professionally. Used by developers, consultants and managers alike, EZ-Metrix is instrumental when used as part of a software measurement program, or to simplify the job of the software project manager. Estimation and project tracking are both facilitated with software size measurements. EZ-Metrix helps answer the question: "How much software has been developed (or tested, verified, released)?"

If you are an EZ-Metrix user, please use this blog to discuss enhancements, observations or defects, since I will be monitoring this space for helpful feedback on the product. Please keep it clean and focused - this is a moderated blog, after all...

Thanks,
James T. Heires, PMP
President
James Heires Consulting, Inc.
Home of EZ-Metrix code counting utility
"Size matters after all"TM

EZ-Metrix® is a registered trademark of James Heires Consulting, Inc.