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
Install script ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼1.64ms] Passed 4 tests
Server-side resources used by Organized Docs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.31 | 45.48 ▲5.49 |
Dashboard /wp-admin | 3.66 ▲0.31 | 53.74 ▼1.03 |
Posts /wp-admin/edit.php | 3.78 ▲0.38 | 54.97 ▲6.89 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.31 | 89.33 ▼16.31 |
Media Library /wp-admin/upload.php | 3.58 ▲0.31 | 39.54 ▲5.30 |
Add New /wp-admin/post-new.php?post_type=isa_docs | 3.78 | 59.26 |
All Docs /wp-admin/edit.php?post_type=isa_docs | 3.63 | 39.49 |
Settings /wp-admin/edit.php?post_type=isa_docs&page=organized-docs-settings | 3.55 | 34.14 |
Docs Categories /wp-admin/edit-tags.php?taxonomy=isa_docs_category&post_type=isa_docs | 3.57 | 37.62 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_docs_section_contents |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
odocs_upgrade_two_six |
Browser metrics Passed 4 tests
Checking browser requirements for Organized Docs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.69 ▲0.50 | 1.78 ▲0.11 | 38.61 ▼6.96 |
Dashboard /wp-admin | 2,221 ▲41 | 5.48 ▼0.12 | 90.07 ▲0.12 | 42.20 ▲5.09 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.04 ▲0.06 | 35.24 ▼6.47 | 34.97 ▲2.52 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.30 ▼0.37 | 676.92 ▲34.32 | 66.13 ▼5.27 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.25 ▲0.09 | 101.42 ▼9.97 | 44.81 ▼1.14 |
Add New /wp-admin/post-new.php?post_type=isa_docs | 2,616 | 7.90 | 175.75 | 65.84 |
All Docs /wp-admin/edit.php?post_type=isa_docs | 1,153 | 1.93 | 31.65 | 32.98 |
Settings /wp-admin/edit.php?post_type=isa_docs&page=organized-docs-settings | 873 | 2.01 | 24.06 | 27.92 |
Docs Categories /wp-admin/edit-tags.php?taxonomy=isa_docs_category&post_type=isa_docs | 1,335 | 2.25 | 26.93 | 31.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- odocs_upgrade_two_six
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_docs_section_contents
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/organized-docs/organized-docs.php:41
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/organized-docs/includes/widget.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/organized-docs/includes/templates/single.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function dynamic_sidebar() in wp-content/plugins/organized-docs/includes/templates/sidebar.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/organized-docs/includes/templates/archive.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/organized-docs/includes/templating.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/organized-docs/includes/templates/taxonomy.php:8
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: docs, organized docs, organized documentation, instruction guides, documentor...
organized-docs/organized-docs.php 85% from 13 tests
The main PHP script in "Organized Docs" version 2.6.3 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,497 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 263 | 426 | 1,341 |
CSS | 1 | 14 | 7 | 113 |
JavaScript | 2 | 5 | 4 | 43 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 56.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 61 | |
▷ Static methods | 5 | 8.20% |
▷ Public methods | 60 | 98.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.64% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/organized-docs.png | 9.89KB | 4.46KB | ▼ 54.90% |