Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.45ms] Passed 4 tests
Analyzing server-side resources used by PowerPress GetID3 1.9.3 add-on
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.91 ▲0.46 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.66 ▲4.24 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.74 ▼9.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.83 ▼34.31 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.13 ▲1.93 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PowerPress GetID3 1.9.3 add-on
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.10 ▼0.30 | 1.73 ▼0.03 | 43.59 ▼0.22 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.04 | 93.11 ▲8.65 | 41.38 ▲0.77 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.05 | 34.28 ▼7.01 | 35.93 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.60 ▲0.73 | 702.90 ▲56.80 | 60.08 ▲17.47 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.19 ▲0.02 | 108.40 ▲12.44 | 48.53 ▲6.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'getid3_lib' not found in wp-content/plugins/powerpress-getid3/getid3-1.9.3/module.tag.id3v2.php:16
- > PHP Fatal error
Uncaught Error: Class 'getid3_handler' not found in wp-content/plugins/powerpress-getid3/getid3-1.9.3/module.audio.mp3.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/powerpress-getid3/powerpress-getid3.php:22
- > PHP Fatal error
Uncaught Error: Class 'getid3_handler' not found in wp-content/plugins/powerpress-getid3/getid3-1.9.3/module.tag.id3v1.php:17
- > PHP Fatal error
Uncaught Error: Class 'getid3_handler' not found in wp-content/plugins/powerpress-getid3/getid3-1.9.3/module.tag.apetag.php:16
- > PHP Fatal error
Uncaught Error: Class 'getid3_handler' not found in wp-content/plugins/powerpress-getid3/getid3-1.9.3/module.audio.aac.php:17
- > PHP Fatal error
Uncaught Error: Class 'getid3_handler' not found in wp-content/plugins/powerpress-getid3/getid3-1.9.3/module.tag.lyrics3.php:17
- > PHP Fatal error
Uncaught Error: Class 'getid3_lib' not found in wp-content/plugins/powerpress-getid3/getid3-1.9.3/module.audio-video.riff.php:20
- > PHP Fatal error
Uncaught Error: Class 'getid3_lib' not found in wp-content/plugins/powerpress-getid3/getid3-1.9.3/module.audio-video.quicktime.php:16
- > PHP Fatal error
'break' not in the 'loop' or 'switch' context in wp-content/plugins/powerpress-getid3/getid3-1.9.3/getid3.lib.php on line 285
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: powerpress, getid3
powerpress-getid3/powerpress-getid3.php Passed 13 tests
"PowerPress GetID3 1.9.3 add-on" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
75 characters long description:
Replaces the GetID3 library used in PowerPress with an older version 1.9.3.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin9,482 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 1,764 | 3,296 | 9,482 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 296)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 185.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 421.00 |
Average method complexity | 12.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 296.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 196 | |
▷ Static methods | 112 | 57.14% |
▷ Public methods | 193 | 98.47% |
▷ Protected methods | 3 | 1.53% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 8 | 66.67% |
▷ Class constants | 4 | 33.33% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin