Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.15MB] [CPU: ▼1.45ms] Passed 4 tests
An overview of server-side resources used by SM Dashboard Pages Navigator Tree
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 47.46 ▲1.23 |
Dashboard /wp-admin | 3.48 ▲0.18 | 61.10 ▲7.52 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 57.82 ▲5.15 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 85.22 ▼15.05 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 41.28 ▲2.88 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
SM Dashboard Pages Navigator Tree: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲141 | 14.35 ▼0.28 | 2.39 ▲0.75 | 41.30 ▲0.78 |
Dashboard /wp-admin | 2,311 ▲134 | 5.72 ▲0.15 | 91.25 ▼4.79 | 36.44 ▼6.29 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.03 | 38.61 ▲0.43 | 36.86 ▲1.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.74 ▲0.66 | 677.77 ▼31.22 | 51.27 ▼3.84 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.03 | 97.98 ▼6.64 | 42.32 ▼6.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WPAZ_Plugin_Base\\V_2_6\\Abstract_Plugin' not found in wp-content/plugins/sm-dashboard-pages-navigator-tree/app/class-plugin.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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 require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
sm-dashboard-pages-navigator-tree/sm-dashboard-pages-navigator-tree.php Passed 13 tests
The main PHP script in "SM Dashboard Pages Navigator Tree" version 2.1.4 is automatically included on every request by WordPress
86 characters long description:
Dashboard widget with Pages Navigator and a FrontEnd shortcode to build html sitemaps.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,000 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 148 | 499 | 543 |
Markdown | 5 | 48 | 0 | 168 |
YAML | 2 | 4 | 0 | 126 |
JSON | 5 | 0 | 0 | 79 |
JavaScript | 2 | 2 | 1 | 35 |
XML | 2 | 0 | 0 | 30 |
CSS | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This is a short overview 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.29 |
Average class complexity | 15.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 29 | 65.91% |
▷ Public methods | 37 | 84.09% |
▷ Protected methods | 3 | 6.82% |
▷ Private methods | 4 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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