Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.33ms] Passed 4 tests
A check of server-side resources used by Audio Comments Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.95 ▼6.23 |
Dashboard /wp-admin | 3.36 ▲0.06 | 50.43 ▲4.60 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.62 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 98.43 ▲5.95 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 35.81 ▼0.54 |
Audio Comments /wp-admin/options-general.php?page=audio-comments/audior-settings.php | 3.30 | 36.32 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_audior_permissions |
wp_audior_comments |
wp_audior_settings |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Audio Comments Plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.19 ▼1.20 | 1.89 ▼0.04 | 37.76 ▼6.35 |
Dashboard /wp-admin | 2,213 ▲24 | 5.88 ▼0.05 | 108.62 ▼6.07 | 42.47 ▲3.36 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.04 ▲0.02 | 38.93 ▼2.62 | 34.65 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,538 ▲15 | 23.22 ▼0.22 | 574.06 ▼95.94 | 56.14 ▲0.81 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.16 ▼0.13 | 94.99 ▼1.33 | 42.00 ▲1.62 |
Audio Comments /wp-admin/options-general.php?page=audio-comments/audior-settings.php | 1,127 | 2.04 | 26.81 | 32.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure failed, leaving 3 tables in the database
- wp_audior_comments
- wp_audior_permissions
- wp_audior_settings
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- 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)
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/audio-comments/audior.php on line 22
- > PHP Notice
Undefined index: audior-settings in wp-content/plugins/audio-comments/integration.php on line 61
- > PHP Notice
Trying to get property 'disable_record_again_button' of non-object in wp-content/plugins/audio-comments/integration.php on line 58
- > PHP Notice
Undefined index: audior-settings in wp-content/plugins/audio-comments/integration.php on line 67
- > PHP Notice
Undefined index: audior-settings in wp-content/plugins/audio-comments/integration.php on line 46
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-content/plugins/audio-comments/sql.php' (include_path='.:/usr/share/php') in wp-content/plugins/audio-comments/audior.php on line 22
- > PHP Notice
Undefined index: audior-settings in wp-content/plugins/audio-comments/integration.php on line 64
- > PHP Notice
Undefined index: audior-settings in wp-content/plugins/audio-comments/integration.php on line 40
- > PHP Notice
Undefined index: audior-settings in wp-content/plugins/audio-comments/integration.php on line 73
- > PHP Notice
Trying to get property 'bg_color' of non-object in wp-content/plugins/audio-comments/integration.php on line 64
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: comments, flash, mp3, audio comments, moderated...
audio-comments/audior.php 85% from 13 tests
The principal PHP file in "Audio Comments Plugin" v. 1.0.4 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 271 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("audio-comments.php" instead of "audior.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin627 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 142 | 143 | 564 |
JavaScript | 2 | 31 | 105 | 63 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin