Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.96ms] Passed 4 tests
A check of server-side resources used by SV Sticky Menu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.95 ▲1.26 |
Dashboard /wp-admin | 3.42 ▲0.11 | 54.03 ▲1.18 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 57.80 ▲7.42 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 89.82 ▼8.82 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 41.92 ▲2.53 |
SV Sticky Menu /wp-admin/options-general.php?page=sv-sticky-menu-page | 3.29 | 35.61 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
sv-sticky-menu-page-options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by SV Sticky Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲200 | 14.68 ▲0.34 | 2.24 ▲0.20 | 38.29 ▼5.99 |
Dashboard /wp-admin | 2,359 ▲182 | 6.40 ▲0.72 | 118.83 ▲28.24 | 41.55 ▲0.97 |
Posts /wp-admin/edit.php | 2,287 ▲187 | 3.54 ▲1.52 | 54.68 ▲18.06 | 34.75 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,547 ▲20 | 23.24 ▲0.18 | 648.40 ▼67.26 | 37.52 ▼27.35 |
Media Library /wp-admin/upload.php | 1,424 ▲27 | 4.25 ▲0.07 | 96.30 ▼8.39 | 46.14 ▼0.02 |
SV Sticky Menu /wp-admin/options-general.php?page=sv-sticky-menu-page | 1,626 | 3.98 | 65.38 | 29.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=sv-sticky-menu-page
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=sv-sticky-menu-page
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=sv-sticky-menu-page
- > Notice in wp-content/plugins/sv-sticky-menu/sv-sticky-menu.php+354
Undefined property: CSvStickyMenu::$plugin_name
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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sv-sticky-menu/sv-sticky-menu.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
5 plugin tags: transiton, sticky, fixed, menu, top
sv-sticky-menu/sv-sticky-menu.php Passed 13 tests
The main PHP script in "SV Sticky Menu" version 1.0.5 is automatically included on every request by WordPress
100 characters long description:
SV Sticky Menu is WordPress's plugin that transform menu to sticky menu on top of page by scrolling.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin580 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 65 | 44 | 422 |
CSS | 1 | 50 | 152 | 92 |
JavaScript | 3 | 17 | 24 | 66 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin