Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.89ms] Passed 4 tests
Analyzing server-side resources used by Easy-Documentation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.15 ▼0.00 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.42 ▼2.79 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.14 ▼8.57 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 88.53 ▼12.19 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.16 ▲4.83 |
Documentation /wp-admin/admin.php?page=wpg-docs | 3.22 | 32.16 |
Settings /wp-admin/admin.php?page=wpg-docs-settings | 3.28 | 41.01 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy-Documentation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 13.75 ▼0.62 | 1.92 ▲0.04 | 41.51 ▲0.05 |
Dashboard /wp-admin | 2,232 ▲55 | 5.22 ▼0.42 | 94.01 ▼4.58 | 41.21 ▼0.39 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.18 ▲0.16 | 44.79 ▲6.48 | 32.87 ▼5.27 |
Add New Post /wp-admin/post-new.php | 1,571 ▲22 | 23.25 ▲5.06 | 650.05 ▼7.75 | 38.28 ▼22.27 |
Media Library /wp-admin/upload.php | 1,502 ▲99 | 4.66 ▲0.39 | 115.48 ▲15.37 | 47.58 ▲3.43 |
Documentation /wp-admin/admin.php?page=wpg-docs | 828 | 2.12 | 28.77 | 23.06 |
Settings /wp-admin/admin.php?page=wpg-docs-settings | 1,597 | 7.05 | 137.63 | 138.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/easy-documentation/easy-docs.php
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 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 ('/assets/Screenshot1.jpg'), #2 ('/assets/Screenshot2.jpg'), #3 ('/assets/Screenshot3.jpg')
easy-documentation/easy-docs.php 92% from 13 tests
The primary PHP file in "Easy-Documentation" version 0.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-documentation.php" instead of "easy-docs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,254 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 105 | 312 | 1,855 |
CSS | 2 | 28 | 1 | 267 |
PHP | 1 | 32 | 13 | 132 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG images were not found in this plugin