Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼284.52ms] Passed 4 tests
This is a short check of server-side resources used by Free Responsive Off-Canvas Menu Plugin for WordPress - 8Degree Fly Menu Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.26 | 55.24 ▲7.03 |
Dashboard /wp-admin | 3.60 ▲0.19 | 39.77 ▲3.48 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 46.68 ▲10.12 |
Add New Post /wp-admin/post-new.php | 7.04 ▲0.08 | 100.44 ▼1,145.91 |
Media Library /wp-admin/upload.php | 3.46 ▲0.16 | 23.95 ▼2.66 |
Add New /wp-admin/post-new.php?post_type=edfm_menu | 3.95 | 50.40 |
How to use /wp-admin/edit.php?post_type=edfm_menu&page=edfm-how-to | 3.48 | 31.11 |
8Degree Fly Menus Lite /wp-admin/edit.php?post_type=edfm_menu | 3.59 | 29.41 |
About /wp-admin/edit.php?post_type=edfm_menu&page=edfm-about | 3.47 | 25.61 |
Server storage [IO: ▲3.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 90 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Free Responsive Off-Canvas Menu Plugin for WordPress - 8Degree Fly Menu Lite: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,265 ▲521 | 18.58 ▲2.87 | 14.66 ▲8.38 | 3.83 ▲1.81 |
Dashboard /wp-admin | 3,193 ▲332 | 8.93 ▲2.71 | 150.54 ▲12.32 | 155.10 ▼7.88 |
Posts /wp-admin/edit.php | 3,022 ▲328 | 5.59 ▲2.35 | 96.23 ▲31.86 | 138.50 ▼3.42 |
Add New Post /wp-admin/post-new.php | 1,753 ▲92 | 16.59 ▲0.43 | 400.13 ▼12.76 | 159.95 ▲4.48 |
Media Library /wp-admin/upload.php | 1,809 ▲111 | 6.49 ▲0.97 | 113.30 ▼24.55 | 185.83 ▼7.65 |
Add New /wp-admin/post-new.php?post_type=edfm_menu | 8,456 | 11.85 | 274.38 | 213.59 |
How to use /wp-admin/edit.php?post_type=edfm_menu&page=edfm-how-to | 2,563 | 7.84 | 165.14 | 216.84 |
8Degree Fly Menus Lite /wp-admin/edit.php?post_type=edfm_menu | 1,702 | 5.48 | 86.40 | 113.28 |
About /wp-admin/edit.php?post_type=edfm_menu&page=edfm-about | 1,750 | 8.36 | 153.96 | 197.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 23× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/8degree-fly-menu-lite/inc/frontend/edfm-walker-class.php
- > /wp-content/plugins/8degree-fly-menu-lite/inc/backend/edfm-search-form.php
- > /wp-content/plugins/8degree-fly-menu-lite/eight-degree-fly-menu-lite.php
- > /wp-content/plugins/8degree-fly-menu-lite/inc/backend/custom-post-type/edfm-meta-box/edfm-layout-settings.php
- > /wp-content/plugins/8degree-fly-menu-lite/inc/frontend/edfm-frontend-style.php
- > /wp-content/plugins/8degree-fly-menu-lite/inc/backend/custom-post-type/edfm-meta-box/edfm-display-settings.php
- > /wp-content/plugins/8degree-fly-menu-lite/inc/backend/boards/edfm-how-to.php
- > /wp-content/plugins/8degree-fly-menu-lite/inc/backend/custom-post-type/edfm-meta-box/edfm-build-fly-menu.php
- > /wp-content/plugins/8degree-fly-menu-lite/inc/backend/custom-post-type/edfm-meta-box/edfm-button-settings.php
- > /wp-content/plugins/8degree-fly-menu-lite/inc/frontend/edfm-fly-menu-layout/edfm-skew-menu.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=edfm_menu&page=edfm-about
- > Javascript (severe) in unknown
/wp-content/plugins/8degree-fly-menu-lite/js/wp-color-picker-alpha.js?ver=1.0.3 10:459 Uncaught ReferenceError: wpColorPickerL10n is not defined
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Contributors: Plugin contributors not specified
8degree-fly-menu-lite/eight-degree-fly-menu-lite.php 77% from 13 tests
"Free Responsive Off-Canvas Menu Plugin for WordPress - 8Degree Fly Menu Lite" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("8degree-fly-menu-lite.php" instead of "eight-degree-fly-menu-lite.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Plugin Name: Please shorten the plugin name (currently 75 characters long instead of max. 70)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected24,626 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 1,062 | 1,081 | 9,343 |
CSS | 8 | 199 | 410 | 9,293 |
SVG | 2 | 0 | 0 | 3,033 |
PHP | 24 | 378 | 214 | 2,957 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.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 | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 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 | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
38 PNG files occupy 0.37MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/notification-labels/sale_5.png | 3.21KB | 1.38KB | ▼ 56.98% |
images/dropdown.png | 0.98KB | 0.15KB | ▼ 84.91% |
images/edfm-backend-icons/edfm-left.png | 2.21KB | 0.66KB | ▼ 70.29% |
images/edfm-backend-icons/top-right.png | 1.09KB | 0.12KB | ▼ 89.27% |
images/notification-labels/Untitled-2.png | 14.12KB | 4.94KB | ▼ 65.02% |