Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/kodio-text-widget/kodio-text-widget.php+15
Methods with the same name as their class will not be constructors in a future version of PHP; Kodio_Text_Widget has a deprecated constructor
Server metrics [RAM: ▼1.87MB] [CPU: ▼56.31ms] Passed 4 tests
An overview of server-side resources used by Kodio Text Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.34 | 4.14 ▼39.50 |
Dashboard /wp-admin | 2.15 ▼1.20 | 5.76 ▼56.45 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 5.94 ▼40.53 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 5.72 ▼88.74 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 5.72 ▼28.67 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_kodio_text_widget |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Kodio Text Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲228 | 14.99 ▲0.70 | 1.66 ▼0.21 | 42.90 ▲0.61 |
Dashboard /wp-admin | 2,366 ▲181 | 6.76 ▲0.88 | 129.92 ▲30.29 | 41.74 ▲4.46 |
Posts /wp-admin/edit.php | 2,278 ▲189 | 3.63 ▲1.61 | 57.49 ▲19.50 | 36.34 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,540 ▲23 | 23.44 ▲5.69 | 680.18 ▼7.09 | 37.43 ▼12.58 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.48 ▲0.25 | 80.65 ▼21.46 | 41.72 ▼2.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/kodio-text-widget/kodio-text-widget.php+15
Methods with the same name as their class will not be constructors in a future version of PHP; Kodio_Text_Widget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_kodio_text_widget
- widget_recent-comments
- widget_recent-posts
- 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)
Even though everything seems fine, this is not 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
Please take a closer look at the following
- 8× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/kodio-text-widget/includes/functions.php
- > /wp-content/plugins/kodio-text-widget/includes/textarea.php
- > /wp-content/plugins/kodio-text-widget/includes/variables.php
- > /wp-content/plugins/kodio-text-widget/includes/widget.php
- > /wp-content/plugins/kodio-text-widget/kodio-text-widget.php
- > /wp-content/plugins/kodio-text-widget/includes/button.php
- > /wp-content/plugins/kodio-text-widget/includes/icon.php
- > /wp-content/plugins/kodio-text-widget/includes/image.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Invalid url: "none"
kodio-text-widget/kodio-text-widget.php 92% from 13 tests
"Kodio Text Widget" version 1.8.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 243 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin6,328 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 0 | 13 | 2,095 |
Sass | 13 | 28 | 24 | 1,560 |
LESS | 13 | 28 | 34 | 1,550 |
SVG | 1 | 0 | 0 | 655 |
PHP | 8 | 59 | 33 | 443 |
JavaScript | 1 | 2 | 2 | 25 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 6.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin