Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.32ms] Passed 4 tests
A check of server-side resources used by WoPo Sound Recorder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.28 ▼3.97 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.44 ▼4.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.49 ▼5.18 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.96 ▼16.07 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.93 ▲1.98 |
Server storage [IO: ▲4.90MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WoPo Sound Recorder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.13 ▼1.55 | 1.70 ▼0.41 | 43.93 ▼1.15 |
Dashboard /wp-admin | 2,203 ▲18 | 5.87 ▼0.03 | 106.21 ▼4.34 | 39.01 ▼4.11 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.00 | 39.26 ▲1.20 | 36.36 ▲0.59 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 23.18 ▲0.13 | 680.79 ▼12.24 | 59.17 ▼0.27 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▼0.05 | 98.19 ▼20.32 | 43.22 ▼4.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 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/wopo-sound-recorder/wopo-sound-recorder.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: html5, web-app, app, wopo, sound...
wopo-sound-recorder/wopo-sound-recorder.php 77% from 13 tests
"WoPo Sound Recorder" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.6" instead of "5.2")
- Domain Path: The domain path folder does not exist ("/languages")
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.2.4" instead of "7.1")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin23,094 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 31 | 2,275 | 7,202 | 21,525 |
CSS | 8 | 59 | 75 | 1,107 |
SVG | 1 | 0 | 0 | 278 |
HTML | 2 | 3 | 0 | 118 |
PHP | 1 | 4 | 14 | 39 |
Markdown | 1 | 15 | 0 | 27 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 3 | |
▷ Named functions | 3 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
html/app/img/buttons.png | 0.39KB | 0.22KB | ▼ 44.67% |
html/app/img/buttons-spaced-out.png | 0.41KB | 0.25KB | ▼ 40.00% |