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.01MB] [CPU: ▼12.09ms] Passed 4 tests
A check of server-side resources used by LearnDash Assignment Uploads Control
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.97 ▼0.93 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.99 ▼16.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.27 ▼3.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.40 ▼27.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.14 ▼1.23 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for LearnDash Assignment Uploads Control
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.33 ▼1.02 | 1.90 ▲0.19 | 43.42 ▲2.03 |
Dashboard /wp-admin | 2,209 ▲20 | 4.84 ▼0.14 | 105.77 ▼12.52 | 45.24 ▼1.80 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.00 ▼0.17 | 34.39 ▼5.80 | 34.21 ▼3.44 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 23.25 ▲5.65 | 622.77 ▼43.83 | 62.29 ▲3.44 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.21 ▼0.03 | 101.44 ▼8.11 | 45.98 ▼4.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
Attributes that require attention:
- Requires php: Version format is invalid
ld-assignment-uploads-ctrl/ld-assignment-uploads-ctrl.php 92% from 13 tests
The main file in "LearnDash Assignment Uploads Control" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin3,529 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 5 | 12 | 2,219 |
SVG | 1 | 0 | 0 | 685 |
PHP | 11 | 224 | 408 | 615 |
JavaScript | 2 | 4 | 6 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 3 | 5.17% |
▷ Public methods | 52 | 89.66% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 10.34% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin