Benchmarks
Plugin footprint 65% 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: ▲1.05MB] [CPU: ▼314.23ms] Passed 4 tests
An overview of server-side resources used by Documentor - Create Product Documentation
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.51 ▲1.00 | 59.00 ▲4.68 |
Dashboard /wp-admin | 4.46 ▲1.05 | 39.41 ▲4.34 |
Posts /wp-admin/edit.php | 4.67 ▲1.03 | 51.25 ▼35.83 |
Add New Post /wp-admin/post-new.php | 8.31 ▲1.34 | 85.07 ▼1,223.51 |
Media Library /wp-admin/upload.php | 4.42 ▲1.13 | 27.19 ▼1.92 |
Guide /wp-admin/admin.php?page=documentor-admin | 4.35 | 28.30 |
Global Settings /wp-admin/admin.php?page=documentor-global-settings | 4.44 | 31.18 |
Add New Section /wp-admin/admin.php?page=documentor-new-section | 4.34 | 26.48 |
Go PRO /wp-admin/admin.php?page=documentor-go-pro | 4.44 | 35.02 |
Server storage [IO: ▲2.57MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 125 new files
Database: 3 new tables, 2 new options
New tables |
---|
wp_documentor_sections |
wp_documentor |
wp_documentor_feedback |
New WordPress options |
---|
documentor_global_options |
documentorlite_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Documentor - Create Product Documentation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,950 ▲228 | 15.57 ▼0.20 | 9.07 ▲2.78 | 2.82 ▲0.41 |
Dashboard /wp-admin | 2,942 ▲84 | 6.18 ▼0.00 | 116.15 ▼17.42 | 176.94 ▲13.78 |
Posts /wp-admin/edit.php | 2,707 ▲19 | 3.14 ▼0.10 | 65.02 ▲0.20 | 141.10 ▼8.06 |
Add New Post /wp-admin/post-new.php | 1,751 ▲40 | 21.23 ▲0.39 | 436.94 ▼8.17 | 241.59 ▲44.42 |
Media Library /wp-admin/upload.php | 1,746 ▲48 | 5.57 ▲0.06 | 124.05 ▼19.78 | 267.14 ▲68.99 |
Guide /wp-admin/admin.php?page=documentor-admin | 1,605 | 5.23 | 130.70 | 232.66 |
Global Settings /wp-admin/admin.php?page=documentor-global-settings | 1,543 | 5.25 | 75.52 | 175.47 |
Add New Section /wp-admin/admin.php?page=documentor-new-section | 2,177 | 9.33 | 160.49 | 296.17 |
Go PRO /wp-admin/admin.php?page=documentor-go-pro | 1,895 | 5.34 | 75.84 | 239.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables detected upon uninstall: 3 tables
- wp_documentor
- wp_documentor_feedback
- wp_documentor_sections
- This plugin did not uninstall successfully, leaving 1 option in the database
- documentor_global_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=documentor-admin
- > Warning in wp-content/plugins/documentor-lite/core/guide.php+43
count(): Parameter must be an array or an object that implements Countable
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/documentor-lite/documentor-lite.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'DocumentorLiteGuide' not found in wp-content/plugins/documentor-lite/core/api.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/documentor-lite/core/includes/compat.php:3
- > PHP Fatal error
Uncaught Error: Class 'DocumentorLite' not found in wp-content/plugins/documentor-lite/core/admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (30 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add images for these screenshots: #1 (Guide or Document on Front-end.), #2 (Guide on mobile.), #3 (Edit Document Panel.), #4 (Add Sections Form.)
documentor-lite/documentor-lite.php Passed 13 tests
The main PHP script in "Documentor - Create Product Documentation" version 1.5.3 is automatically included on every request by WordPress
73 characters long description:
Best plugin to create online documentation or product guide on WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin27,523 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 1,643 | 302 | 13,567 |
PHP | 16 | 404 | 474 | 5,012 |
SVG | 2 | 0 | 0 | 2,713 |
JavaScript | 8 | 182 | 292 | 2,612 |
Sass | 15 | 37 | 36 | 1,792 |
LESS | 15 | 37 | 46 | 1,782 |
XML | 1 | 2 | 0 | 44 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 72.90 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 339.00 |
Average method complexity | 6.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 126 | |
▷ Static methods | 25 | 19.84% |
▷ Public methods | 116 | 92.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 7.94% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
32 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skins/broad/images/feedback.png | 0.42KB | 0.64KB | 0.00% |
skins/default/images/message.png | 0.35KB | 0.45KB | 0.00% |
skins/default/images/collapse.png | 0.20KB | 0.24KB | 0.00% |
skins/default/images/close.png | 0.78KB | 0.90KB | 0.00% |
core/images/sort_both.png | 1.11KB | 0.29KB | ▼ 74.12% |