Benchmarks
Plugin footprint Passed 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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼358.54ms] Passed 4 tests
This is a short check of server-side resources used by Fusion Page Builder : Extension - Menu
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 28.25 ▼4.70 |
Dashboard /wp-admin | 3.07 ▲0.02 | 44.54 ▼1.48 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 43.74 ▼0.15 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 91.25 ▼1,421.67 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 34.35 ▼6.32 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Fusion Page Builder : Extension - Menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,676 ▲70 | 15.81 ▲0.32 | 8.53 ▲1.09 | 46.64 ▲1.09 |
Dashboard /wp-admin | 2,950 ▲97 | 5.93 ▲0.07 | 134.87 ▼11.64 | 106.06 ▼0.77 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.69 ▼0.00 | 66.23 ▲0.21 | 79.14 ▼13.53 |
Add New Post /wp-admin/post-new.php | 1,651 ▼2 | 17.45 ▼1.25 | 362.08 ▼0.76 | 111.49 ▲3.92 |
Media Library /wp-admin/upload.php | 1,772 ▲3 | 4.99 ▼0.01 | 154.56 ▲0.75 | 118.62 ▼8.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
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 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fusion-extension-menu/includes/extensions/menu.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-menu/fusion-extension-menu.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 18 tag instead of maximum 10
fusion-extension-menu/fusion-extension-menu.php Passed 13 tests
The main PHP script in "Fusion Page Builder : Extension - Menu" version 1.1.20 is automatically included on every request by WordPress
34 characters long description:
Menu Extension Package for Fusion.
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 detected845 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 117 | 129 | 457 |
CSS | 1 | 12 | 7 | 221 |
JavaScript | 3 | 13 | 38 | 167 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 22.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 5.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected