Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.17MB] [CPU: ▼17.50ms] Passed 4 tests
Analyzing server-side resources used by Navigation Tree Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.54 ▲1.47 |
Dashboard /wp-admin | 3.21 ▼0.14 | 32.97 ▼27.14 |
Posts /wp-admin/edit.php | 3.27 ▼0.09 | 38.50 ▼8.76 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 71.59 ▼26.58 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 28.49 ▼7.51 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Navigation Tree Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.01 | 1.73 ▲0.10 | 42.39 ▼2.16 |
Dashboard /wp-admin | 2,192 ▲15 | 5.54 ▲0.01 | 84.07 ▼0.48 | 36.21 ▼4.00 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.01 | 38.97 ▲0.71 | 36.60 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.18 ▼5.01 | 622.02 ▼19.29 | 75.02 ▲24.69 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.08 | 93.97 ▼23.94 | 42.18 ▼6.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Once the plugin is activated a new tab will appear on the right side of the editor screen.), #2 (Use the CSS ID field to set custom names for sections, columns or widgets)
navigation-tree-elementor/elementor-navigation-tree.php 92% from 13 tests
The principal PHP file in "Navigation Tree Elementor" v. 1.0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("navigation-tree-elementor.php" instead of "elementor-navigation-tree.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected341 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 1 | 0 | 150 |
PHP | 3 | 44 | 48 | 129 |
JavaScript | 1 | 18 | 8 | 62 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected