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.01MB] [CPU: ▼11.39ms] Passed 4 tests
Analyzing server-side resources used by Genesis mobile & sticky menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.92 ▼3.04 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.82 ▼20.24 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.24 ▲0.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.06 ▼22.46 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.91 ▲1.31 |
Mobile menu /wp-admin/admin.php?page=genesis-mobile-sticky-menu | 3.01 | 23.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Genesis mobile & sticky menu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.59 ▲0.18 | 1.59 ▼0.12 | 37.78 ▼4.63 |
Dashboard /wp-admin | 2,195 ▲21 | 5.55 ▼0.13 | 84.37 ▼14.59 | 40.05 ▼4.28 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.95 ▼0.04 | 39.44 ▲2.45 | 34.80 ▲1.77 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.03 ▼0.21 | 673.77 ▲72.99 | 60.95 ▲8.36 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.39 ▲0.13 | 96.99 ▼0.62 | 46.07 ▲2.78 |
Mobile menu /wp-admin/admin.php?page=genesis-mobile-sticky-menu | 28 | 0.42 | 0.09 | 3.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
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
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=genesis-mobile-sticky-menu
- > Network (severe)
wp-admin/admin.php?page=genesis-mobile-sticky-menu - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: genesis, sticky menu, stick to top, mobile menu, sticky...
genesis-mobile-sticky-menu/plugin.php 92% from 13 tests
The primary PHP file in "Genesis mobile & sticky menu" version 1.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("genesis-mobile-sticky-menu.php" instead of "plugin.php")
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
No dangerous file extensions were detected286 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 23 | 207 |
JavaScript | 2 | 0 | 1 | 74 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected