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.06MB] [CPU: ▲4.43ms] Passed 4 tests
A check of server-side resources used by Web Tools
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.32 ▲3.58 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.79 ▼0.04 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.34 ▲3.53 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.53 ▲10.65 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 43.82 ▲13.20 |
All Web Tools /wp-admin/edit.php?post_type=web_tools | 3.31 | 42.90 |
Add New /wp-admin/post-new.php?post_type=web_tools | 3.44 | 49.49 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Web Tools
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲98 | 14.47 ▲0.07 | 1.91 ▼0.21 | 41.30 ▼7.63 |
Dashboard /wp-admin | 2,230 ▲42 | 6.00 ▲0.16 | 95.34 ▼21.82 | 36.93 ▼5.78 |
Posts /wp-admin/edit.php | 2,116 ▲30 | 2.03 ▼0.10 | 39.81 ▲2.85 | 35.17 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 23.39 ▲0.08 | 605.75 ▼52.28 | 48.58 ▼8.19 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.23 ▲0.04 | 100.77 ▲3.34 | 42.23 ▲0.38 |
All Web Tools /wp-admin/edit.php?post_type=web_tools | 1,080 | 2.00 | 32.03 | 29.57 |
Add New /wp-admin/post-new.php?post_type=web_tools | 2,431 | 7.84 | 186.76 | 76.17 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/web-tools/uninstall.php
- > /wp-content/plugins/web-tools/custom-fields.php
- > /wp-content/plugins/web-tools/register-ctp.php
- > /wp-content/plugins/web-tools/set-single-template.php
- > /wp-content/plugins/web-tools/web-tools.php
- > /wp-content/plugins/web-tools/admin-view.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (This Home screen of Web Tools Plugins), #2 (This Settings screen of Web Tools Plugins)
web-tools/web-tools.php Passed 13 tests
The principal PHP file in "Web Tools" v. 1.1 is loaded by WordPress automatically on each request
88 characters long description:
Create tools website such as calculator, generator, converter, etc. easily in WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin374 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 92 | 47 | 374 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin