Benchmarks
Plugin footprint Passed 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.05MB] [CPU: ▼140.59ms] Passed 4 tests
This is a short check of server-side resources used by WP Voice Recorder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.06 | 36.76 ▲0.50 |
Dashboard /wp-admin | 3.11 ▲0.05 | 39.75 ▼7.98 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 45.41 ▲1.63 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 97.16 ▼553.98 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 27.33 ▼0.89 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
WP Voice Recorder: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,839 ▲243 | 16.50 ▲0.91 | 15.49 ▲5.42 | 47.16 ▼2.17 |
Dashboard /wp-admin | 2,987 ▲53 | 6.06 ▼0.08 | 158.83 ▲12.71 | 108.12 ▼2.80 |
Posts /wp-admin/edit.php | 2,757 ▲21 | 2.74 ▲0.01 | 65.71 ▼0.32 | 83.81 ▼8.19 |
Add New Post /wp-admin/post-new.php | 1,695 ▲23 | 22.06 ▲3.16 | 274.27 ▼108.53 | 108.70 ▼17.13 |
Media Library /wp-admin/upload.php | 1,825 ▲15 | 5.12 ▲0.08 | 150.45 ▲5.53 | 119.26 ▼5.37 |
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 successfully, without leaving any zombie files or tables
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: file_url in wp-content/plugins/wp-voice-recorder/lib/cmtplayer-interface.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-voice-recorder/lib/cmtplayer-interface.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-voice-recorder/lib/wpvr-voice-meta.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/wp-voice-recorder/lib/wpvr-jplayer-interface.php:2
- > PHP Notice
Undefined variable: comment_id in wp-content/plugins/wp-voice-recorder/lib/cmtplayer-interface.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-voice-recorder/lib/wpvr-voice-meta.php:20
- > PHP Notice
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #4 in wp-voice-recorder/assets to your readme.txt
wp-voice-recorder/wpvr-recorder.php 92% from 13 tests
"WP Voice Recorder" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-voice-recorder.php" instead of "wpvr-recorder.php")
Code Analysis 5% from 3 tests
File types 0% from 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
Please fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .as - Adobe Flash ActionScript File in Adobe Flash
- ☣ wp-content/plugins/wp-voice-recorder/lib/flash-fla/Main.as
- .as - Adobe Flash ActionScript File in Adobe Flash
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 174 | 183 | 1,034 |
CSS | 1 | 96 | 38 | 506 |
PHP | 4 | 16 | 58 | 270 |
ActionScript | 1 | 75 | 8 | 130 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 15 | |
▷ Named functions | 15 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skin/jplayer.blue.monday.video.play.png | 17.28KB | 4.28KB | ▼ 75.21% |