Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.60MB] [CPU: ▼54.06ms] Passed 4 tests
Server-side resources used by Iconic Navigation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.38 ▼1.08 | 6.35 ▼40.48 |
Dashboard /wp-admin | 2.40 ▼0.90 | 7.28 ▼44.49 |
Posts /wp-admin/edit.php | 2.40 ▼0.95 | 8.77 ▼39.29 |
Add New Post /wp-admin/post-new.php | 2.40 ▼3.48 | 7.10 ▼91.97 |
Media Library /wp-admin/upload.php | 2.40 ▼0.82 | 7.43 ▼28.87 |
Iconic Navigation Settings /wp-admin/options-general.php?page=iconic-navigation | 2.40 | 6.92 |
Server storage [IO: ▲4.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Iconic Navigation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,987 ▲226 | 14.63 ▲0.25 | 2.03 ▲0.29 | 37.13 ▼4.92 |
Dashboard /wp-admin | 2,369 ▲166 | 6.46 ▲0.62 | 138.51 ▲30.78 | 38.87 ▼7.08 |
Posts /wp-admin/edit.php | 2,267 ▲167 | 3.41 ▲1.36 | 56.11 ▲17.11 | 34.24 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,688 ▲155 | 22.47 ▼0.78 | 676.52 ▲57.55 | 36.35 ▼17.62 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.14 ▼0.07 | 81.07 ▼24.52 | 40.46 ▼3.93 |
Iconic Navigation Settings /wp-admin/options-general.php?page=iconic-navigation | 708 | 1.71 | 10.56 | 21.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/iconic-navigation/iconavs_menu_fun.php+88
Declaration of iconNavs_Edit_Nav_Menu_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0)
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- recovery_mode_email_last_sent
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=iconic-navigation
- > Warning in wp-content/plugins/iconic-navigation/iconavs_menu_fun.php+88
Declaration of iconNavs_Edit_Nav_Menu_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0)
- > GET request to /wp-admin/options-general.php?page=iconic-navigation
- > Error in wp-content/plugins/iconic-navigation/classes/cadreu_plugin.php+62
Uncaught Error: [] operator not supported for strings in wp-content/plugins/iconic-navigation/classes/cadreu_plugin.php:62
Stack trace:
#0 wp-content/plugins/iconic-navigation/classes/cadreu_plugin_options.php(49): cadrEu_Plugin->_Settings_link()
#1 wp-includes/class-wp-hook.php(310): cadreuPlugin_Options->_options_form()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#6 {main}
thrown
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: iconic_navigation in wp-content/plugins/iconic-navigation/iconavs_menu_fun.php on line 14
- > PHP Fatal error
Uncaught Error: Call to a member function getTheme_settings() on null in wp-content/plugins/iconic-navigation/iconavs_menu_fun.php:14
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: font icon, navigation, icon, responsive, menu image upload...
iconic-navigation/iconic-navigation.php 77% from 13 tests
"Iconic Navigation" version 1.1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path should be prefixed with a forward slash character ("/")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path should use only dashes and lowercase characters ("")
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 detected18,712 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 1 | 0 | 1 | 8,310 |
SVG | 2 | 0 | 0 | 7,766 |
JavaScript | 4 | 72 | 51 | 1,814 |
PHP | 7 | 146 | 100 | 820 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/img/cadrosSite.png | 2.19KB | 1.47KB | ▼ 32.96% |