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.07MB] [CPU: ▼3.99ms] Passed 4 tests
A check of server-side resources used by Lorem User Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.17 ▲1.71 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.95 ▼2.41 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.70 ▼8.98 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.37 ▼5.48 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.15 ▲0.90 |
Lorem User Generator /wp-admin/users.php?page=lorem-user-generator | 3.45 | 35.75 |
Lorem User Generator /wp-admin/options-general.php?page=lorem-user-generator_settings | 3.35 | 33.59 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Lorem User Generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.61 ▼0.77 | 1.89 ▼0.33 | 43.16 ▼4.06 |
Dashboard /wp-admin | 2,211 ▲29 | 5.83 ▲0.95 | 104.93 ▼3.73 | 41.82 ▼0.17 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.04 ▲0.03 | 36.09 ▼2.89 | 33.55 ▼2.33 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.33 ▲0.14 | 681.04 ▼24.85 | 54.94 ▼4.98 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.15 ▼0.09 | 134.02 ▲23.68 | 60.00 ▲11.08 |
Lorem User Generator /wp-admin/users.php?page=lorem-user-generator | 1,327 | 2.44 | 43.91 | 30.53 |
Lorem User Generator /wp-admin/options-general.php?page=lorem-user-generator_settings | 827 | 2.02 | 26.08 | 28.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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: dummy data, generator, random, members, user generator...
lorem-user-generator/lorem-user-generator.php Passed 13 tests
The principal PHP file in "Lorem User Generator" v. 1.3.0 is loaded by WordPress automatically on each request
72 characters long description:
A straightforward way to add randomly generated users to your WordPress.
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 plugin1,170 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 164 | 443 | 784 |
JavaScript | 2 | 46 | 0 | 222 |
PO File | 1 | 39 | 43 | 114 |
CSS | 2 | 17 | 2 | 50 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 16.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 4.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 4 | 80.00% |
Methods | 29 | |
▷ Static methods | 20 | 68.97% |
▷ Public methods | 22 | 75.86% |
▷ Protected methods | 4 | 13.79% |
▷ Private methods | 3 | 10.34% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
No PNG images were found in this plugin