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.11MB] [CPU: ▼2.92ms] Passed 4 tests
This is a short check of server-side resources used by Learning Objects LMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.17 ▼1.95 |
Dashboard /wp-admin | 3.43 ▲0.08 | 52.33 ▼11.54 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.01 ▼1.33 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 98.29 ▲7.18 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.80 ▲3.13 |
Configurazione Learning Objects /wp-admin/options-general.php?page=wcloi_config_wclo_integration | 3.31 | 35.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Learning Objects LMS
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.23 ▼0.43 | 1.81 ▼0.17 | 43.02 ▼0.11 |
Dashboard /wp-admin | 2,221 ▲44 | 5.55 ▼0.03 | 86.87 ▼10.60 | 38.19 ▼2.78 |
Posts /wp-admin/edit.php | 2,133 ▲30 | 2.17 ▲0.16 | 37.91 ▼5.88 | 35.22 ▼4.28 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.06 ▼0.05 | 684.85 ▲62.98 | 65.82 ▲15.16 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.18 ▲0.05 | 110.21 ▲0.37 | 47.93 ▲2.10 |
Configurazione Learning Objects /wp-admin/options-general.php?page=wcloi_config_wclo_integration | 854 | 2.15 | 24.26 | 30.39 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: learning management system, education, lms, course, woocommerce lms...
learning-objects-lms/learning-objects-lms.php 85% from 13 tests
"Learning Objects LMS" version 1.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 172 characters long)
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.6" instead of "4.8")
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
Success! There were no dangerous files found in this plugin826 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 188 | 127 | 571 |
PO File | 4 | 95 | 102 | 255 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin