Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼307.68ms] Passed 4 tests
A check of server-side resources used by Advanced Password Security
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.13 | 51.96 ▲1.82 |
Dashboard /wp-admin | 3.48 ▲0.07 | 32.22 ▼1.62 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 39.05 ▲0.65 |
Add New Post /wp-admin/post-new.php | 6.98 ▼0.02 | 103.61 ▼1,230.72 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 29.36 ▲0.98 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 1 new option
New WordPress options |
---|
aps_settings |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Password Security
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲31 | 16.25 ▲0.23 | 6.12 ▲0.25 | 2.28 ▲0.00 |
Dashboard /wp-admin | 2,914 ▲53 | 6.07 ▼0.14 | 114.31 ▼18.18 | 155.76 ▼6.02 |
Posts /wp-admin/edit.php | 2,707 ▲16 | 3.23 ▲0.00 | 73.76 ▲10.77 | 150.19 ▲10.49 |
Add New Post /wp-admin/post-new.php | 1,726 ▲65 | 21.50 ▲5.17 | 466.57 ▲52.45 | 208.17 ▲50.66 |
Media Library /wp-admin/upload.php | 1,717 ▲22 | 5.48 ▼0.06 | 139.07 ▲2.29 | 196.12 ▲1.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- aps_settings
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: password, security
advanced-password-security/advanced-password-security.php 92% from 13 tests
The main PHP script in "Advanced Password Security" version 1.0.4 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected503 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 81 | 13 | 324 |
PO File | 2 | 19 | 22 | 81 |
CSS | 1 | 7 | 0 | 64 |
SVG | 1 | 0 | 1 | 34 |
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.41 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 9 | 36.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected