Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼13.90ms] Passed 4 tests
A check of server-side resources used by AWEOS Offcanvas Menu for Divi
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 26.16 ▼12.38 |
Dashboard /wp-admin | 3.52 ▲0.17 | 43.68 ▼16.91 |
Posts /wp-admin/edit.php | 3.58 ▲0.21 | 42.77 ▼5.07 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 81.05 ▼21.22 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 35.36 ▲0.56 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 555 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for AWEOS Offcanvas Menu for Divi
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲163 | 13.83 ▼0.50 | 9.04 ▲7.39 | 36.64 ▼3.71 |
Dashboard /wp-admin | 2,198 ▲21 | 5.66 ▲0.12 | 84.08 ▼3.50 | 37.29 ▼2.75 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.13 ▲0.12 | 36.16 ▼0.69 | 32.80 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.57 ▲0.03 | 686.81 ▲5.89 | 54.20 ▼6.47 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.01 | 95.34 ▼6.46 | 43.03 ▼1.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 154× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/Node/Expression/BlockReferenceExpression.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/Node/Expression/Binary/EndsWithBinary.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/TokenParser/ApplyTokenParser.php:27
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\CallExpression' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/Node/Expression/TestExpression.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/Node/Expression/GetAttrExpression.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\ameExpression' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/Node/Expression/AssignNameExpression.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Twig\odeVisitor\odeVisitorInterface' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/NodeVisitor/MacroAutoImportNodeVisitor.php:27
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Error\\Error' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/Sandbox/SecurityError.php:21
- > PHP Fatal error
Uncaught Error: Class 'Twig\odeVisitor\\AbstractNodeVisitor' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/NodeVisitor/SafeAnalysisNodeVisitor.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Twig\\RuntimeLoader\\RuntimeLoaderInterface' not found in wp-content/plugins/aweos-offcanvas-menu/vendor/twig/twig/src/RuntimeLoader/FactoryRuntimeLoader.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: touch, divi, menu, navigation, mobile
aweos-offcanvas-menu/aweos-offcanvas-menu.php 92% from 13 tests
This is the main PHP file of "AWEOS Offcanvas Menu for Divi" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin32,009 lines of code in 535 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 386 | 3,925 | 5,913 | 17,454 |
JSON | 10 | 0 | 0 | 8,469 |
reStructuredText | 115 | 2,616 | 2,530 | 3,005 |
JavaScript | 5 | 395 | 273 | 1,917 |
CSS | 3 | 64 | 1 | 435 |
YAML | 5 | 59 | 1 | 282 |
Sass | 4 | 9 | 0 | 181 |
make | 1 | 24 | 5 | 124 |
Markdown | 3 | 29 | 0 | 55 |
Bourne Shell | 1 | 6 | 1 | 43 |
Python | 1 | 73 | 165 | 33 |
Dockerfile | 1 | 2 | 0 | 11 |
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.43 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 28 | |
Interfaces | 15 | |
Traits | 0 | |
Classes | 356 | |
▷ Abstract classes | 14 | 3.93% |
▷ Concrete classes | 342 | 96.07% |
▷ Final classes | 51 | 14.91% |
Methods | 912 | |
▷ Static methods | 60 | 6.58% |
▷ Public methods | 747 | 81.91% |
▷ Protected methods | 93 | 10.20% |
▷ Private methods | 72 | 7.89% |
Functions | 143 | |
▷ Named functions | 118 | 82.52% |
▷ Anonymous functions | 25 | 17.48% |
Constants | 53 | |
▷ Global constants | 3 | 5.66% |
▷ Class constants | 50 | 94.34% |
▷ Public constants | 50 | 100.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
No PNG files were detected