Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲6.33MB] [CPU: ▲51.48ms] 75% from 4 tests
An overview of server-side resources used by EazyDocs - Most Powerful Knowledge base, wiki, Documentation Builder Plugin (easy docs, knowledgebase)
Please have a look at the following items
- Extra RAM: The extra memory usage should kept under 5MB (currently 6.33MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.69 ▲6.23 | 89.40 ▲51.75 |
Dashboard /wp-admin | 9.65 ▲6.35 | 95.74 ▲46.60 |
Posts /wp-admin/edit.php | 9.77 ▲6.41 | 108.23 ▲61.08 |
Add New Post /wp-admin/post-new.php | 12.45 ▲6.56 | 148.19 ▲47.96 |
Media Library /wp-admin/upload.php | 9.58 ▲6.35 | 93.44 ▲59.59 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.82 | 81.51 |
Server storage [IO: ▲10.34MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 574 new files
Database: no new tables, 12 new options
New WordPress options |
---|
fs_debug_mode |
EazyDocs_version |
fs_active_plugins |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
eazyDocs_installed |
fs_accounts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for EazyDocs - Most Powerful Knowledge base, wiki, Documentation Builder Plugin (easy docs, knowledgebase)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲202 | 13.41 ▼0.83 | 8.78 ▲7.17 | 28.09 ▼16.22 |
Dashboard /wp-admin | 2,276 ▲102 | 5.56 ▼0.06 | 99.37 ▼0.43 | 47.55 ▲3.19 |
Posts /wp-admin/edit.php | 2,185 ▲85 | 2.15 ▲0.20 | 42.30 ▲3.48 | 38.46 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,744 ▲216 | 22.30 ▼0.58 | 658.87 ▼62.38 | 36.40 ▼19.23 |
Media Library /wp-admin/upload.php | 1,481 ▲81 | 4.44 ▲0.27 | 104.00 ▲5.78 | 48.55 ▲5.31 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,116 | 1.69 | 30.68 | 32.36 |
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
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/eazydocs/includes/fs/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 12 options
- eazydocs_settings
- fs_active_plugins
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- fs_accounts
- fs_debug_mode
- EazyDocs_version
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/eazydocs/includes/Elementor/Docs/docs-6.php
- 61× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/eazydocs/includes/Elementor/Docs/docs-1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/eazydocs/templates/ezd-login.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function ezd_get_opt() in wp-content/plugins/eazydocs/templates/tools/edit-add-doc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/eazydocs/templates/docs-right-sidebar.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/eazydocs/includes/Elementor/Single_Doc/single-doc-3.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/eazydocs/templates/search-banner.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/eazydocs/includes/Elementor/Docs/docs-2.php:1
- > PHP Notice
Trying to get property 'post_parent' of non-object in wp-content/plugins/eazydocs/templates/docs-sidebar.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/eazydocs/includes/Elementor/Search/ajax-sarch-results.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/eazydocs/templates/keywords.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add a description for screenshot #8 in eazydocs/assets to your readme.txt
eazydocs/eazydocs.php Passed 13 tests
The main PHP file in "EazyDocs - Most Powerful Knowledge base, wiki, Documentation Builder Plugin (easy docs, knowledgebase)" ver. 2.3.5 adds more information about the plugin and also serves as the entry point for this plugin
68 characters long description:
A powerful & beautiful documentation, knowledge base builder plugin.
Code Analysis 97% from 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
No dangerous file extensions were detected148,558 lines of code in 472 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 271 | 11,958 | 19,915 | 52,098 |
XML | 1 | 791 | 1,164 | 36,016 |
CSS | 44 | 1,514 | 859 | 18,739 |
Sass | 64 | 2,673 | 324 | 17,550 |
PO File | 8 | 4,720 | 6,634 | 10,972 |
JavaScript | 44 | 2,065 | 1,538 | 10,805 |
SVG | 32 | 0 | 3 | 1,992 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 7 | 0 | 0 | 172 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 47.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 137 | |
▷ Abstract classes | 4 | 2.92% |
▷ Concrete classes | 133 | 97.08% |
▷ Final classes | 1 | 0.75% |
Methods | 1,667 | |
▷ Static methods | 262 | 15.72% |
▷ Public methods | 1,258 | 75.46% |
▷ Protected methods | 23 | 1.38% |
▷ Private methods | 386 | 23.16% |
Functions | 198 | |
▷ Named functions | 186 | 93.94% |
▷ Anonymous functions | 12 | 6.06% |
Constants | 154 | |
▷ Global constants | 106 | 68.83% |
▷ Class constants | 48 | 31.17% |
▷ Public constants | 48 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 0.71MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/fs/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/images/icon/folder.png | 0.64KB | 0.62KB | ▼ 2.92% |
assets/images/docs-4.png | 81.50KB | 38.24KB | ▼ 53.08% |
assets/images/customizer/1.png | 1.04KB | 0.73KB | ▼ 29.85% |
assets/images/search-bg.png | 546.15KB | 17.90KB | ▼ 96.72% |