Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼10.72ms] Passed 4 tests
This is a short check of server-side resources used by Theme Helper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 25.87 ▼14.09 |
Dashboard /wp-admin | 3.52 ▲0.21 | 47.31 ▼9.07 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 49.02 ▼8.34 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 85.52 ▼11.37 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.32 ▲1.89 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Theme Helper
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.45 ▼1.02 | 1.60 ▼0.29 | 39.83 ▲1.35 |
Dashboard /wp-admin | 2,221 ▲36 | 5.14 ▼0.72 | 98.35 ▼0.99 | 78.17 ▲34.53 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.18 ▲0.19 | 37.43 ▼2.96 | 33.43 ▼3.70 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 17.45 ▼0.74 | 760.94 ▲135.55 | 67.08 ▲12.61 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.32 ▲0.09 | 101.69 ▼4.06 | 74.84 ▲29.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/theme-helper/function.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-helper/settings_page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/theme-helper/settings_page.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: A description for screenshot #1 is missing in theme-helper/assets to your readme.txt
- Plugin Name: Please specify the plugin name on the first line (
=== theme-helper ===
) - License uri: Invalid url: "GPLv2 or later"
theme-helper/themehelper.php 92% from 13 tests
The primary PHP file in "Theme Helper" version 1.11 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("theme-helper.php" instead of "themehelper.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,384 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 300 | 39 | 907 |
CSS | 2 | 83 | 15 | 342 |
JavaScript | 1 | 0 | 45 | 135 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 19 | |
▷ Named functions | 19 | 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
4 PNG files occupy 0.30MB with 0.17MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/admin-themehelper-icon.png | 2.12KB | 1.38KB | ▼ 34.79% |
images/screenshot-1.png | 292.67KB | 85.78KB | ▼ 70.69% |
images/themehelper-sprite.png | 10.80KB | 6.06KB | ▼ 43.91% |
images/themehelper-icon.png | 1.01KB | 0.18KB | ▼ 82.06% |