94% abc-notation

Code Review | ABC Notation

WordPress plugin ABC Notation scored 94% from 54 tests.

About plugin

  • Plugin page: abc-notation
  • Plugin version: 5.99.30
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.7
  • WordPress version: 5.9.2
  • First release: Mar 31, 2015
  • Latest release: Mar 17, 2021
  • Number of updates: 57
  • Update frequency: every 38.2 days
  • Top authors: paulrosen (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

100+ active / 3,648 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼299.27ms] Passed 4 tests

Server-side resources used by ABC Notation
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0159.98 ▼5.60
Dashboard /wp-admin3.41 ▲0.0137.33 ▼2.56
Posts /wp-admin/edit.php3.65 ▲0.0140.07 ▼2.24
Add New Post /wp-admin/post-new.php6.89 ▼0.0896.36 ▼1,186.67
Media Library /wp-admin/upload.php3.30 ▲0.0026.36 ▼1.83

Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for ABC Notation
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,771 ▲1715.58 ▲0.026.28 ▲0.282.26 ▼0.05
Dashboard /wp-admin2,876 ▲196.12 ▲0.00139.97 ▲13.93154.18 ▼3.72
Posts /wp-admin/edit.php2,691 ▼03.23 ▼0.0161.90 ▼2.80137.08 ▼3.67
Add New Post /wp-admin/post-new.php1,661 ▼015.72 ▼5.66388.25 ▼21.37166.10 ▼3.50
Media Library /wp-admin/upload.php1,698 ▲35.51 ▲0.01143.87 ▲0.70217.64 ▼0.74

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/abc-notation/abc-notation.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Screenshots: Screenshot #1 (An example of a shortcode and the resultant music that is produced.) image required
The official readme.txt might help

abc-notation/abc-notation.php 92% from 13 tests

The principal PHP file in "ABC Notation" v. 5.99.30 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 256 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected445 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.13
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1392.86%
▷ Anonymous functions17.14%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png21.84KB7.19KB▼ 67.09%