Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.65ms] Passed 4 tests
An overview of server-side resources used by Genesis Subpage Sidebar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.38 ▲4.03 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.31 ▼2.59 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.63 ▲0.53 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.67 ▼8.45 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.36 ▲3.90 |
Subpage Sidebar /wp-admin/options-general.php?page=gsfs-options | 3.19 | 31.83 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Genesis Subpage Sidebar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.41 ▲0.04 | 1.78 ▲0.01 | 44.10 ▼1.26 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▼0.07 | 97.20 ▼0.93 | 38.76 ▼6.33 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.99 ▼0.06 | 34.53 ▼0.42 | 35.77 ▲4.23 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 23.19 ▲0.38 | 558.68 ▼107.35 | 54.42 ▲5.17 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.19 ▼0.02 | 94.89 ▼7.54 | 41.58 ▼4.51 |
Subpage Sidebar /wp-admin/options-general.php?page=gsfs-options | 806 | 2.06 | 25.07 | 24.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=gsfs-options
- > Notice in wp-content/plugins/genesis-subpage-sidebar/includes/admin-page.php+39
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/genesis-subpage-sidebar/genesis-subpage-fixed-sidebar.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-subpage-sidebar/includes/admin-page.php:57
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: genesis, widget, menu, studiopress, subpage...
genesis-subpage-sidebar/genesis-subpage-fixed-sidebar.php 92% from 13 tests
The entry point to "Genesis Subpage Sidebar" version 0.0.9 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("genesis-subpage-sidebar.php" instead of "genesis-subpage-fixed-sidebar.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
No dangerous file extensions were detected232 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 20 | 8 | 106 |
PHP | 2 | 52 | 58 | 104 |
JavaScript | 1 | 8 | 6 | 22 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 6 | |
▷ Named functions | 6 | 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
No PNG files were detected