Benchmarks
Plugin footprint 83% from 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.39ms] Passed 4 tests
Server-side resources used by Replain
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.32 ▼2.94 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.16 ▼4.16 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.71 ▲2.39 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.81 ▼8.86 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.74 ▲6.48 |
Re:plain /wp-admin/options-general.php?page=replain | 3.23 | 33.55 |
Server storage [IO: ▲2.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
replain_enabled |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
replain_code |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Replain
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.24 ▼0.09 | 1.88 ▲0.13 | 47.14 ▲2.25 |
Dashboard /wp-admin | 2,224 ▲46 | 5.54 ▼0.08 | 86.31 ▼30.15 | 44.17 ▼0.80 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 1.98 ▲0.00 | 38.48 ▲2.27 | 33.41 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 22.88 ▼0.37 | 654.67 ▼6.44 | 66.70 ▲9.95 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.24 ▲0.04 | 98.32 ▼7.40 | 48.72 ▲3.11 |
Re:plain /wp-admin/options-general.php?page=replain | 844 | 1.99 | 28.30 | 39.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/replain/replain.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in replain/assets to your readme.txt
- Contributors: Plugin contributors not specified
replain/replain.php 92% from 13 tests
The primary PHP file in "Replain" version 1.9.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 179 characters long)
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
Good job! No executable or dangerous file extensions detected348 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 58 | 66 | 168 |
PHP | 1 | 52 | 25 | 143 |
CSS | 1 | 2 | 0 | 22 |
SVG | 1 | 0 | 1 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 10 | |
▷ Named functions | 10 | 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
2 PNG files occupy 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 62.79KB | 18.21KB | ▼ 70.99% |
assets/icon-128x128.png | 23.11KB | 6.72KB | ▼ 70.93% |