Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▲0.45ms] Passed 4 tests
An overview of server-side resources used by Steel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 46.02 ▲0.31 |
Dashboard /wp-admin | 3.61 ▲0.31 | 61.42 ▲3.73 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 57.76 ▲7.52 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 89.87 ▼9.78 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 45.12 ▲10.42 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 46 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_steel-widget-random-quote |
widget_theysaidso_widget |
widget_steel-widget-link |
widget_steel-widget-list-group |
widget_steel-widget-button |
Browser metrics Passed 4 tests
A check of browser resources used by Steel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,088 ▲327 | 16.42 ▲2.05 | 16.82 ▲15.24 | 53.22 ▲13.56 |
Dashboard /wp-admin | 2,371 ▲193 | 6.30 ▲0.58 | 115.54 ▲11.88 | 41.42 ▲0.33 |
Posts /wp-admin/edit.php | 2,299 ▲196 | 3.52 ▲1.56 | 54.20 ▲16.56 | 35.39 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,718 ▲190 | 22.57 ▼0.66 | 647.29 ▼41.97 | 30.34 ▼28.45 |
Media Library /wp-admin/upload.php | 1,445 ▲42 | 4.36 ▲0.15 | 84.49 ▼18.64 | 46.31 ▲1.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_steel-widget-list-group
- widget_steel-widget-button
- widget_recent-posts
- widget_steel-widget-random-quote
- db_upgraded
- theysaidso_admin_options
- widget_steel-widget-link
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/steel/teams.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/steel/options.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_exists() in wp-content/plugins/steel/shortcodes.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/steel/slides.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/steel/inc/broadcast-feed.php:9
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/steel/inc/class-walker-nav-menu-list-group.php:14
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/steel/inc/class-walker-nav-menu-list-group.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/steel/podcast.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/steel/inc/class-widget-button.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/steel/inc/class-widget-link.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: shortcodes, teams, carousel, bootstrap, quotes...
steel/steel.php Passed 13 tests
Analyzing the main PHP file in "Steel" version 1.3.0
137 characters long description:
Steel brings the power of Matchstix to a simple user interface, making any site’s impact spread like wildfire. No programming required.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected13,946 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 25 | 32 | 8,783 |
PHP | 19 | 400 | 986 | 3,038 |
JavaScript | 7 | 610 | 201 | 1,787 |
SVG | 2 | 0 | 0 | 301 |
JSON | 1 | 0 | 0 | 37 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 9.56 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 96 | |
▷ Named functions | 96 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin