Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.76ms] Passed 4 tests
Analyzing server-side resources used by bodi0`s Password generator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.98 ▼5.65 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.09 ▼7.58 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.51 ▲2.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.22 ▼8.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.24 ▼1.59 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by bodi0`s Password generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.55 ▼0.74 | 1.65 ▼0.34 | 38.47 ▼11.26 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▼0.02 | 104.24 ▼7.68 | 40.54 ▼2.95 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.13 ▲0.14 | 40.94 ▲2.25 | 34.21 ▲0.66 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 22.88 ▼0.29 | 647.64 ▲66.46 | 52.84 ▲0.62 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▼0.02 | 92.39 ▼2.07 | 40.54 ▼3.18 |
Uninstaller [IO: ▲0.07MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attentionZombie WordPress options detected upon uninstall: 6 options
- The plugin did not uninstall correctly, leaving 12 files (0.07MB) in the plugin directory
- (new file) languages/bodi0-password-generator-bg_BG.po
- (new file) languages/bodi0-password-generator-es_ES.po
- (new file) languages/bodi0-password-generator-es_ES.mo
- (new file) languages/bodi0-password-generator-fr_FR.mo
- (new file) bodi0-password-generator-admin.php
- (new file) languages/bodi0-password-generator-bg_BG.mo
- (new file) languages/bodi0-password-generator-en_GB.mo
- (new file) bodi0-password-generator.php
- (new file) bodi0-password-generator-form.php
- (new file) languages/bodi0-password-generator-en_GB.po
- ...
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: user management, modify user, strong password, password, user password generator...
bodi0s-password-generator/bodi0-password-generator.php 77% from 13 tests
The main PHP script in "bodi0`s Password generator" version 0.2 is automatically included on every request by WordPress
The following require your attention:
- 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
- Description: Please don't use more than 140 characters for the plugin description (currently 146 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("bodi0s-password-generator.php" instead of "bodi0-password-generator.php")
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
There were no executable files found in this plugin412 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 384 | 992 | 264 |
PHP | 3 | 37 | 70 | 148 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 0 | |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin