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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.97ms] Passed 4 tests
An overview of server-side resources used by WIP Incoming Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.43 ▼4.62 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.11 ▼2.61 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 50.24 ▲0.75 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.79 ▼25.38 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.09 ▲2.70 |
WIP Incoming /wp-admin/admin.php?page=wip_incoming_lite_panel | 4.49 | 47.92 |
Server storage [IO: ▲3.84MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WIP Incoming Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.66 ▼0.71 | 1.62 ▼0.10 | 33.56 ▼10.26 |
Dashboard /wp-admin | 2,247 ▲62 | 5.84 ▲0.96 | 103.70 ▼12.39 | 80.36 ▲34.83 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 1.99 ▼0.04 | 41.07 ▼0.41 | 40.74 ▲5.33 |
Add New Post /wp-admin/post-new.php | 1,565 ▲23 | 18.19 ▼6.40 | 670.85 ▲13.66 | 60.89 ▲6.41 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.23 ▲0.03 | 98.49 ▼4.05 | 80.10 ▲36.95 |
WIP Incoming /wp-admin/admin.php?page=wip_incoming_lite_panel | 6,836 | 7.08 | 161.37 | 187.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wip-incoming-lite/core/admin/panel.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/wip-incoming-lite/templates/layout.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wip-incoming-lite/init.php:42
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
- Screenshots: These screenshots require images: #1 (The default coming soon page), #2 (Alternative coming soon page.), #3 (Option panel)
wip-incoming-lite/init.php 85% from 13 tests
The main file in "WIP Incoming Lite" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 323 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("wip-incoming-lite.php" instead of "init.php")
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
Everything looks great! No dangerous files found in this plugin21,322 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 2 | 0 | 16,291 |
CSS | 8 | 245 | 107 | 1,962 |
PHP | 6 | 724 | 118 | 1,150 |
JavaScript | 6 | 203 | 317 | 963 |
SVG | 1 | 0 | 0 | 655 |
PO File | 1 | 782 | 1,645 | 301 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 34.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 6.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
36 compressed PNG files occupy 1.18MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/patterns/worn_dots.png | 19.29KB | 20.53KB | 0.00% |
assets/images/patterns/purty_wood.png | 217.15KB | 153.39KB | ▼ 29.36% |
assets/images/patterns/xv.png | 36.44KB | 39.40KB | 0.00% |
assets/images/patterns/foggy_birds.png | 2.54KB | 2.59KB | 0.00% |
assets/images/patterns/tileable_wood_texture.png | 167.47KB | 119.42KB | ▼ 28.69% |