Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.34MB] [CPU: ▼1.83ms] Passed 4 tests
Server-side resources used by SuperDocs - The Ultimate Knowledge Base, Wiki And Documentation Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 44.16 ▲1.56 |
Dashboard /wp-admin | 3.68 ▲0.34 | 50.14 ▼12.20 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 55.53 ▲12.23 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 95.65 ▼4.12 |
Media Library /wp-admin/upload.php | 3.54 ▲0.32 | 42.84 ▲7.44 |
All Docs /wp-admin/edit.php?post_type=superdocs | 3.71 | 42.09 |
Templates /wp-admin/edit.php?post_type=superdocstemplate | 3.66 | 46.18 |
Products /wp-admin/edit.php?product=true&post_type=superdocs | 3.69 | 42.82 |
Categories /wp-admin/admin.php?page=superdocs-categories | 3.56 | 40.95 |
Settings /wp-admin/admin.php?page=superdocs-settings | 3.55 | 38.91 |
Server storage [IO: ▲0.58MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 109 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
SuperDocs - The Ultimate Knowledge Base, Wiki And Documentation Builder: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲152 | 13.17 ▼1.11 | 1.51 ▼0.35 | 43.99 ▲0.33 |
Dashboard /wp-admin | 2,326 ▲146 | 6.02 ▲0.34 | 89.93 ▲0.27 | 37.20 ▼0.05 |
Posts /wp-admin/edit.php | 2,199 ▲120 | 2.33 ▲0.20 | 37.30 ▲2.27 | 34.30 ▲3.51 |
Add New Post /wp-admin/post-new.php | 2,048 ▲520 | 23.37 ▲0.36 | 614.93 ▼17.82 | 33.18 ▼22.61 |
Media Library /wp-admin/upload.php | 1,584 ▲181 | 4.50 ▲0.24 | 103.58 ▲5.56 | 40.39 ▼5.33 |
All Docs /wp-admin/edit.php?post_type=superdocs | 1,292 | 2.54 | 40.22 | 26.04 |
Templates /wp-admin/edit.php?post_type=superdocstemplate | 1,278 | 2.37 | 45.94 | 32.19 |
Products /wp-admin/edit.php?product=true&post_type=superdocs | 1,259 | 2.48 | 48.80 | 29.69 |
Categories /wp-admin/admin.php?page=superdocs-categories | 1,010 | 2.61 | 48.03 | 34.88 |
Settings /wp-admin/admin.php?page=superdocs-settings | 1,253 | 2.49 | 50.57 | 54.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/superdocs/resources/views/admin/pages/docs/cpt-filter.php
- > /wp-content/plugins/superdocs/resources/views/admin/pages/products/footer.php
- 54× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/superdocs/app/Widgets/NavCategories.php:11
- > PHP Fatal error
Uncaught Error: Class 'WpCommander\\Route\\RegisterRoute' not found in wp-content/plugins/superdocs/bootstrap/RegisterRoute.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/superdocs/app/Widgets/TableOfContent.php:10
- > PHP Fatal error
Uncaught Error: Class 'WpCommander\\View\\View' not found in wp-content/plugins/superdocs/bootstrap/View.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/superdocs/app/Widgets/NextPrev.php:13
- > PHP Fatal error
Uncaught Error: Class 'SuperDocs\\Bootstrap\\Route' not found in wp-content/plugins/superdocs/routes/api.php:11
- > PHP Fatal error
Uncaught Error: Class 'DoatKolom\\Ui\\Utils\\Common' not found in wp-content/plugins/superdocs/resources/views/admin/pages/category/create.php:6
- > PHP Fatal error
Uncaught Error: Class 'DoatKolom\\Ui\\Components\\Tab' not found in wp-content/plugins/superdocs/resources/views/admin/pages/settings/index.php:18
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/superdocs/app/Widgets/ContentArea.php:7
- > PHP Fatal error
Uncaught Error: Class 'WpCommander\\Contracts\\ServiceProvider' not found in wp-content/plugins/superdocs/app/Providers/TemplateServiceProvider.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=superdocs-categories
- > Javascript (severe) in unknown
/wp-content/plugins/superdocs/vendor/doatkolom/ui/assets/js/doatkolom-ui.js?ver=1.0.3-beta1 0:3493 Uncaught TypeError: Cannot read properties of undefined (reading 'content_api')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: docs, wiki, wiki builder, documentation, documentation builder...
superdocs/superdocs.php 85% from 13 tests
The main PHP script in "SuperDocs - The Ultimate Knowledge Base, Wiki And Documentation Builder" version 1.0.3-beta1... is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 246 characters long)
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "1.0.3-beta1...")
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
Success! There were no dangerous files found in this plugin7,112 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 86 | 894 | 593 | 7,005 |
JSON | 2 | 0 | 0 | 92 |
JavaScript | 8 | 2 | 9 | 10 |
CSS | 4 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 51 | |
▷ Abstract classes | 9 | 17.65% |
▷ Concrete classes | 42 | 82.35% |
▷ Final classes | 2 | 4.76% |
Methods | 246 | |
▷ Static methods | 52 | 21.14% |
▷ Public methods | 212 | 86.18% |
▷ Protected methods | 27 | 10.98% |
▷ Private methods | 7 | 2.85% |
Functions | 29 | |
▷ Named functions | 15 | 51.72% |
▷ Anonymous functions | 14 | 48.28% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 images were found in this plugin