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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.19ms] Passed 4 tests
An overview of server-side resources used by Keyword to Tooltip Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 37.67 ▼2.56 |
Dashboard /wp-admin | 3.43 ▲0.13 | 47.11 ▼4.83 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 49.81 ▼1.10 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 90.16 ▼4.27 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 41.06 ▲8.60 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_keyword_to_tooltip_lite_keyword |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Keyword to Tooltip Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲193 | 13.88 ▼0.73 | 5.63 ▲3.79 | 40.73 ▼3.05 |
Dashboard /wp-admin | 2,228 ▲54 | 5.27 ▲0.31 | 104.87 ▼2.35 | 93.40 ▲50.75 |
Posts /wp-admin/edit.php | 2,128 ▲53 | 2.39 ▲0.34 | 40.76 ▲1.05 | 37.52 ▲2.72 |
Add New Post /wp-admin/post-new.php | 1,702 ▲169 | 22.80 ▼0.33 | 784.16 ▲103.53 | 36.34 ▼21.42 |
Media Library /wp-admin/upload.php | 1,428 ▲46 | 4.67 ▲0.49 | 101.26 ▼3.15 | 77.44 ▲33.50 |
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-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Almost there! Just fix the following items
- 37× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to get property 'panel_color' of non-object in wp-content/plugins/keyword-to-tooltip-lite/views/_admin_keyword_edit.php on line 16
- > PHP Notice
Trying to get property 'highlight_color' of non-object in wp-content/plugins/keyword-to-tooltip-lite/views/_admin_keyword_view.php on line 28
- > PHP Notice
Trying to get property 'id' of non-object in wp-content/plugins/keyword-to-tooltip-lite/views/_admin_keyword_edit.php on line 10
- > PHP Notice
Undefined variable: keyword in wp-content/plugins/keyword-to-tooltip-lite/views/_admin_keyword_view.php on line 40
- > PHP Notice
Trying to get property 'keyword' of non-object in wp-content/plugins/keyword-to-tooltip-lite/views/_admin_keyword_edit.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'KeywordToTooltipLite' not found in wp-content/plugins/keyword-to-tooltip-lite/_header.php:9
- > PHP Fatal error
Uncaught Error: Class 'KeywordToTooltipLite' not found in wp-content/plugins/keyword-to-tooltip-lite/views/_admin_keyword_view.php:46
- > PHP Notice
Undefined variable: keyword in wp-content/plugins/keyword-to-tooltip-lite/views/_admin_keyword_edit.php on line 16
- > PHP Notice
Undefined variable: keyword in wp-content/plugins/keyword-to-tooltip-lite/views/_admin_keyword_edit.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'KeywordToTooltipLite' not found in wp-content/plugins/keyword-to-tooltip-lite/views/admin-settings.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
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:
- Plugin Name: You should set the name of your plugin on the first line (
=== keyword-to-tooltip-lite ===
)
keyword-to-tooltip-lite/keyword-to-tooltip-lite.php Passed 13 tests
The main PHP file in "Keyword to Tooltip Lite" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
60 characters long description:
Create any keyword you want, and assign a description to it.
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
Good job! No executable or dangerous file extensions detected7,350 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 24 | 1 | 6,074 |
PHP | 15 | 231 | 76 | 937 |
SVG | 1 | 0 | 0 | 228 |
JavaScript | 3 | 32 | 6 | 111 |
PHP code Passed 2 tests
Analyzing 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.30 |
Average class complexity | 15.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 2 | 3.57% |
▷ Public methods | 43 | 76.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 23.21% |
Functions | 1 | |
▷ Named functions | 1 | 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
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 21.34KB | 0.49KB | ▼ 97.72% |