Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.10ms] Passed 4 tests
An overview of server-side resources used by Slithy Web
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.78 ▼1.77 |
Dashboard /wp-admin | 3.40 ▲0.09 | 47.24 ▼6.33 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.66 ▼5.42 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.90 ▲5.31 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.34 ▲1.11 |
Slithy web /wp-admin/options-general.php?page=slithyweb_admin_menu | 3.28 | 31.33 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
slithyweb_maxage |
widget_theysaidso_widget |
slithyweb_etag |
db_upgraded |
theysaidso_admin_options |
slithyweb_last_modified |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Slithy Web
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.16 ▼1.48 | 1.62 ▼0.23 | 38.25 ▼5.94 |
Dashboard /wp-admin | 2,207 ▲19 | 5.86 ▼0.02 | 97.82 ▼18.26 | 38.45 ▼8.11 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.04 | 38.75 ▼0.78 | 33.67 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.62 ▼5.71 | 591.52 ▼93.21 | 53.34 ▼6.74 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▲0.05 | 95.13 ▼10.23 | 42.65 ▼4.36 |
Slithy web /wp-admin/options-general.php?page=slithyweb_admin_menu | 833 | 2.05 | 22.12 | 26.97 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- slithyweb_maxage
- db_upgraded
- widget_recent-posts
- slithyweb_last_modified
- widget_theysaidso_widget
- theysaidso_admin_options
- slithyweb_etag
- widget_recent-comments
- can_compress_scripts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: PHP_AUTH_USER in wp-content/plugins/slithy-web/inc/backuper.php on line 24
- > PHP Notice
Undefined index: PHP_AUTH_PW in wp-content/plugins/slithy-web/inc/backuper.php on line 25
- > PHP Notice
Undefined index: login in wp-content/plugins/slithy-web/inc/backuper.php on line 26
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif).), #2 (This is the second screen shot)
slithy-web/slithyweb.php 92% from 13 tests
The main file in "Slithy Web" v. 1.19.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("slithy-web.php" instead of "slithyweb.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 detected671 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 95 | 169 | 549 |
Markdown | 3 | 56 | 0 | 101 |
CSS | 1 | 4 | 1 | 19 |
JavaScript | 1 | 3 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 20.75 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 4 | 19.05% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 10 | 37.04% |
▷ Anonymous functions | 17 | 62.96% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin