Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.29MB] [CPU: ▼1.03ms] Passed 4 tests
Analyzing server-side resources used by LifterLMS Labs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 47.57 ▲0.52 |
Dashboard /wp-admin | 3.64 ▲0.33 | 54.63 ▲1.38 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 58.10 ▲5.99 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 95.46 ▼12.02 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 44.77 ▲7.68 |
Labs /wp-admin/admin.php?page=llms-labs | 3.47 | 41.77 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for LifterLMS Labs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.34 ▼0.01 | 2.07 ▲0.36 | 44.39 ▲2.81 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▼0.01 | 87.50 ▼2.54 | 44.89 ▼0.81 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.01 | 41.53 ▲3.06 | 35.57 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.31 ▲0.29 | 687.87 ▼18.65 | 66.23 ▲3.74 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.25 ▲0.04 | 106.26 ▼1.41 | 48.27 ▲2.93 |
Labs /wp-admin/admin.php?page=llms-labs | 951 | 1.99 | 23.79 | 27.87 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
lifterlms-labs/lifterlms-labs.php Passed 13 tests
The main PHP file in "LifterLMS Labs" ver. 1.6.1 adds more information about the plugin and also serves as the entry point for this plugin
120 characters long description:
Experimental, conceptual, and possibly silly new features to improve and enhance the functionality of the LifterLMS core
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,685 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 518 | 917 | 1,684 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 1 | 6.25% |
▷ Concrete classes | 15 | 93.75% |
▷ Final classes | 1 | 6.67% |
Methods | 99 | |
▷ Static methods | 3 | 3.03% |
▷ Public methods | 67 | 67.68% |
▷ Protected methods | 17 | 17.17% |
▷ Private methods | 15 | 15.15% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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