Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.06MB] [CPU: ▼10.21ms] Passed 4 tests
Analyzing server-side resources used by OutVoice
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.01 ▼1.41 |
Dashboard /wp-admin | 3.43 ▲0.08 | 44.36 ▼16.95 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 47.18 ▲1.24 |
Add New Post /wp-admin/post-new.php | 5.32 ▼0.57 | 61.50 ▼23.73 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.44 ▲3.11 |
OutVoice /wp-admin/options-general.php?page=outvoice-settings | 3.29 | 33.54 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
OutVoice: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲48 | 13.27 ▼1.10 | 1.73 ▼0.20 | 40.45 ▼1.01 |
Dashboard /wp-admin | 2,225 ▲34 | 4.94 ▼0.92 | 99.74 ▼8.40 | 83.02 ▲41.73 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 1.97 ▼0.06 | 33.96 ▼2.25 | 30.51 ▼5.12 |
Add New Post /wp-admin/post-new.php | 1,553 ▲21 | 23.99 ▲0.74 | 657.81 ▲10.56 | 32.87 ▼25.51 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.14 ▼0.10 | 110.55 ▲13.32 | 45.23 ▲3.03 |
OutVoice /wp-admin/options-general.php?page=outvoice-settings | 810 | 2.04 | 24.43 | 25.45 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=outvoice-settings
- > Notice in wp-content/plugins/outvoice/plugin.php+683
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% 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
There were not plugin tags detected
outvoice/plugin.php 92% from 13 tests
This is the main PHP file of "OutVoice" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("outvoice.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected21,356 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 5,547 | 7,597 | 20,328 |
PHP | 3 | 113 | 243 | 690 |
CSS | 2 | 49 | 2 | 338 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/outvoice.png | 14.67KB | 6.05KB | ▼ 58.74% |
img/logo_166.png | 5.65KB | 2.76KB | ▼ 51.13% |
img/ov.png | 1.95KB | 0.94KB | ▼ 52.02% |