Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.61ms] Passed 4 tests
Server-side resources used by WDS Site Documentation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.95 ▼0.42 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.90 ▼5.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 42.46 ▼0.54 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.90 ▼20.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.43 ▲1.87 |
Documentation /wp-admin/options-general.php?page=wds_documentation | 3.22 | 35.33 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WDS Site Documentation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲124 | 13.21 ▼1.35 | 1.87 ▼0.06 | 45.88 ▼2.65 |
Dashboard /wp-admin | 2,262 ▲77 | 4.87 ▼1.03 | 97.06 ▼13.27 | 40.14 ▼7.37 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.05 ▲0.02 | 36.64 ▼2.76 | 34.26 ▼1.36 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 23.12 ▼0.14 | 686.46 ▲25.50 | 57.08 ▲3.73 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.20 ▲0.09 | 94.24 ▼23.40 | 40.53 ▼8.24 |
Documentation /wp-admin/options-general.php?page=wds_documentation | 1,006 | 3.05 | 42.39 | 67.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function WebDevStudios\\Documentation\\add_action() in wp-content/plugins/wds-site-documentation/wds-site-documentation.php:99
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
1 plugin tags: documentation
wds-site-documentation/wds-site-documentation.php 92% from 13 tests
Analyzing the main PHP file in "WDS Site Documentation" version 1.0.2
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.6" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin178 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 51 | 94 | 178 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 1 | |
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 | 7 | |
▷ Named functions | 7 | 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
1 compressed PNG file occupies 0.19MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wds_banner.png | 194.40KB | 194.38KB | 0.01% |