Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.06ms] Passed 4 tests
Analyzing server-side resources used by Optimization Tools | ItnYou
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.09 ▲2.87 |
Dashboard /wp-admin | 3.33 ▼0.02 | 50.87 ▼10.20 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.84 ▼1.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.36 ▼19.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.90 ▲2.99 |
Optimization Tools /wp-admin/options-general.php?page=itnyou-toolset | 3.22 | 36.27 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Optimization Tools | ItnYou
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲58 | 13.25 ▼1.34 | 2.04 ▲0.03 | 43.91 ▼1.14 |
Dashboard /wp-admin | 2,228 ▲25 | 6.05 ▲1.19 | 98.98 ▼21.30 | 38.11 ▼8.23 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.99 ▼0.07 | 39.61 ▼0.53 | 32.29 ▼5.56 |
Add New Post /wp-admin/post-new.php | 1,534 ▲2 | 23.48 ▲0.38 | 621.95 ▼44.99 | 65.67 ▼11.13 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▼0.07 | 107.36 ▲0.70 | 45.02 ▼1.87 |
Optimization Tools /wp-admin/options-general.php?page=itnyou-toolset | 871 | 2.08 | 23.87 | 27.35 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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)
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/optimization-tools-itnyou/itnyou.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function ItnYou_plugin_name() in wp-content/plugins/optimization-tools-itnyou/template-parts/settings-form.php:8
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (Screenshot_1.png)
optimization-tools-itnyou/itnyou.php 85% from 13 tests
The primary PHP file in "Optimization Tools | ItnYou" version 0.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 311 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("optimization-tools-itnyou.php" instead of "itnyou.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin144 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 7 | 144 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
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