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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.33ms] Passed 4 tests
This is a short check of server-side resources used by Genesis Simple Sidebars
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.63 ▼4.45 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.12 ▼1.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.34 ▲1.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 116.31 ▲18.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 39.70 ▲3.51 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Genesis Simple Sidebars
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.41 ▼0.23 | 1.64 ▼0.18 | 39.24 ▼6.64 |
Dashboard /wp-admin | 2,201 ▲24 | 5.62 ▼0.07 | 91.13 ▼0.52 | 41.43 ▼2.60 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.98 ▼0.03 | 34.47 ▲0.91 | 35.87 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.04 ▲5.51 | 679.26 ▼3.18 | 49.14 ▼8.24 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.16 ▼0.11 | 101.07 ▼12.43 | 45.91 ▼1.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
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
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Genesis_Simple_Sidebars() in wp-content/plugins/genesis-simple-sidebars/includes/views/admin-edit.php:8
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Admin_Basic' not found in wp-content/plugins/genesis-simple-sidebars/includes/class-genesis-simple-sidebars-admin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function Genesis_Simple_Sidebars() in wp-content/plugins/genesis-simple-sidebars/includes/views/term-edit-sidebar-form.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Genesis_Simple_Sidebars() in wp-content/plugins/genesis-simple-sidebars/includes/views/entry-metabox-content.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/genesis-simple-sidebars/includes/views/admin-main.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== genesis-simple-sidebars ===
)
genesis-simple-sidebars/plugin.php 92% from 13 tests
The primary PHP file in "Genesis Simple Sidebars" version 2.2.2 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 ("genesis-simple-sidebars.php" instead of "plugin.php")
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
Success! There were no dangerous files found in this plugin1,055 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 270 | 472 | 659 |
YAML | 1 | 16 | 0 | 158 |
PO File | 1 | 37 | 97 | 92 |
JavaScript | 1 | 16 | 8 | 77 |
JSON | 2 | 0 | 0 | 69 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.60 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 87.50% |
▷ Protected methods | 4 | 12.50% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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