Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/radiatedtwixel/radiatedtwixel.php+167
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.02ms] Passed 4 tests
Server-side resources used by RadiatedTwixel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.83 ▼36.31 |
Dashboard /wp-admin | 2.05 ▼1.26 | 7.19 ▼44.75 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.25 ▼41.84 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.19 ▼81.16 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.18 ▼27.25 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_radiatedtwixel |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
RadiatedTwixel: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.13 | 5.79 ▲3.95 | 44.90 ▼0.47 |
Dashboard /wp-admin | 2,206 ▲21 | 5.11 ▲0.21 | 108.37 ▼6.27 | 37.29 ▼8.60 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.00 | 38.39 ▲1.13 | 33.39 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 22.96 ▼0.13 | 582.47 ▼77.18 | 56.60 ▼7.09 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.01 | 101.49 ▲1.72 | 46.93 ▲2.81 |
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
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/radiatedtwixel/radiatedtwixel.php+167
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_radiatedtwixel
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/radiatedtwixel/tags/0.2.1/radiatedtwixel.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/radiatedtwixel/radiatedtwixel.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/radiatedtwixel/tags/0.1/radiatedtwixel.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/radiatedtwixel/tags/0.2/radiatedtwixel.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/radiatedtwixel/tags/0.2.2/radiatedtwixel.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (http://www.radiatedpixel.com/downloads/misc/twixelunstyled.png), #2 (http://www.radiatedpixel.com/downloads/misc/twixelrp.png)
radiatedtwixel/radiatedtwixel.php 92% from 13 tests
The main PHP file in "RadiatedTwixel" ver. 0.2.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 471 characters long)
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
Good job! No executable or dangerous file extensions detected532 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 40 | 81 | 532 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin