Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.68ms] Passed 4 tests
A check of server-side resources used by MC Audio File Calculator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.91 ▼3.97 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.18 ▼1.51 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.18 ▼1.87 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.14 ▼17.86 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.54 ▼3.01 |
MC Audio File Calculator /wp-admin/options-general.php?page=mc6397afc | 3.21 | 41.51 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for MC Audio File Calculator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 14.47 ▲0.03 | 1.93 ▲0.33 | 47.68 ▲6.10 |
Dashboard /wp-admin | 2,210 ▲19 | 5.86 ▲0.99 | 99.57 ▼1.38 | 35.62 ▼8.69 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.04 | 34.60 ▼8.00 | 34.95 ▲0.07 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.47 ▼1.07 | 665.21 ▲52.18 | 50.41 ▼3.52 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.18 ▼0.06 | 99.69 ▲3.57 | 46.19 ▲2.34 |
MC Audio File Calculator /wp-admin/options-general.php?page=mc6397afc | 929 | 2.05 | 22.68 | 29.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mc-audio-file-calculator/inc/mcafc_options.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: file size calculator, calculator, wav, file size, audio file...
mc-audio-file-calculator/mc-audio-file-calculator.php Passed 13 tests
"MC Audio File Calculator" version 2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
76 characters long description:
Creates audio file size calculators on your website, both MP3 and WAV files.
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
There were no executable files found in this plugin9,409 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 1,205 | 7 | 9,052 |
PHP | 3 | 70 | 26 | 357 |
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 code | 0.25 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin