Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/line-styled-menu/line-style-menu.php+397
Declaration of Walker_CookforWeb_Menu::start_lvl(&$output) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = NULL)
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.33ms] Passed 4 tests
This is a short check of server-side resources used by Line Style Menus - Beautiful line styled menus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.97 ▼37.51 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.13 ▼41.27 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.44 ▼43.06 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.80 ▼83.46 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 7.38 ▼26.05 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 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 Line Style Menus - Beautiful line styled menus
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▼0.28 | 1.64 ▼0.12 | 44.10 ▼7.78 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▼1.01 | 104.15 ▼4.66 | 39.34 ▼9.12 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.16 ▲0.13 | 33.36 ▼7.65 | 35.41 ▼5.65 |
Add New Post /wp-admin/post-new.php | 1,534 ▼1 | 23.26 ▲0.01 | 664.81 ▲25.54 | 61.11 ▲12.04 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.22 ▼0.01 | 99.78 ▲0.02 | 43.14 ▲1.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/line-styled-menu/line-style-menu.php+397
Declaration of Walker_CookforWeb_Menu::start_lvl(&$output) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = NULL)
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/line-styled-menu/line-style-menu.php:83
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("")
line-styled-menu/line-style-menu.php 92% from 13 tests
The main file in "Line Style Menus - Beautiful line styled menus" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("line-styled-menu.php" instead of "line-style-menu.php")
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
Good job! No executable or dangerous file extensions detected2,278 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 358 | 81 | 2,107 |
PHP | 1 | 72 | 182 | 169 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 5.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin