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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.19MB] [CPU: ▲7.35ms] Passed 4 tests
Server-side resources used by Keys Master
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.54 ▲1.08 | 49.75 ▲12.20 |
Dashboard /wp-admin | 4.53 ▲1.22 | 58.34 ▲11.28 |
Posts /wp-admin/edit.php | 4.64 ▲1.28 | 52.79 ▲7.17 |
Add New Post /wp-admin/post-new.php | 7.13 ▲1.24 | 88.86 ▼1.26 |
Media Library /wp-admin/upload.php | 4.45 ▲1.22 | 49.27 ▲16.76 |
Control Center /wp-admin/admin.php?page=perfopsone-dashboard | 4.47 | 41.59 |
App. Passwords /wp-admin/admin.php?page=pokm-viewer | 4.94 | 46.69 |
Keys Master /wp-admin/admin.php?page=pokm-settings | 4.72 | 39.87 |
App. Passwords /wp-admin/admin.php?page=pokm-manager | 4.66 | 45.63 |
Analytics /wp-admin/admin.php?page=perfopsone-analytics | 4.42 | 46.16 |
Tools /wp-admin/admin.php?page=perfopsone-tools | 4.42 | 40.60 |
Server storage [IO: ▲2.11MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 468 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_password_usage |
wp_password_statistics |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Keys Master
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.35 ▲0.00 | 1.89 ▲0.27 | 41.37 ▲0.13 |
Dashboard /wp-admin | 2,237 ▲63 | 5.58 ▲0.02 | 84.74 ▼4.34 | 38.34 ▼0.13 |
Posts /wp-admin/edit.php | 2,145 ▲48 | 1.99 ▼0.01 | 34.21 ▼0.67 | 33.10 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 18.12 ▼4.77 | 647.16 ▼14.96 | 52.71 ▼5.73 |
Media Library /wp-admin/upload.php | 1,441 ▲38 | 4.22 ▼0.01 | 95.39 ▼1.17 | 43.07 ▼2.88 |
Control Center /wp-admin/admin.php?page=perfopsone-dashboard | 1,097 | 2.01 | 24.56 | 32.65 |
App. Passwords /wp-admin/admin.php?page=pokm-viewer | 1,357 | 3.43 | 76.15 | 68.97 |
Keys Master /wp-admin/admin.php?page=pokm-settings | 1,093 | 2.03 | 25.61 | 36.80 |
App. Passwords /wp-admin/admin.php?page=pokm-manager | 1,049 | 2.06 | 25.99 | 31.15 |
Analytics /wp-admin/admin.php?page=perfopsone-analytics | 928 | 2.12 | 26.99 | 26.59 |
Tools /wp-admin/admin.php?page=perfopsone-tools | 925 | 1.99 | 23.56 | 23.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/keys-master/public/partials/keys-master-public-display.php
- 35× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/keys-master/perfopsone/functions.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function KeysMaster\\Library\\esc_html__() in wp-content/plugins/keys-master/includes/libraries/class-libraries.php:67
- > PHP Warning
Use of undefined constant POKM_VENDOR_DIR - assumed 'POKM_VENDOR_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/keys-master/includes/libraries/class-libraries.php on line 64
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/keys-master/includes/libraries/psr/http-message/ServerRequestInterface.php:43
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-load.php' (include_path='.:/usr/share/php') in wp-content/plugins/keys-master/perfopsone/class-installer.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/keys-master/perfopsone/class-installer.php on line 12
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/keys-master/includes/features/class-passwords.php on line 29
- > PHP Fatal error
Uncaught Error: Class 'KeysMaster\\System\\Option' not found in wp-content/plugins/keys-master/includes/system/class-nag.php:56
- > PHP Fatal error
Uncaught Error: Class 'cebe\\markdownparser\\Parser' not found in wp-content/plugins/keys-master/includes/libraries/markdown/MarkdownParser.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/keys-master/admin/partials/keys-master-admin-settings-main.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: authentication, application password, rest-api, security, xml-rpc
keys-master/keys-master.php Passed 13 tests
The main PHP file in "Keys Master" ver. 1.10.0 adds more information about the plugin and also serves as the entry point for this plugin
125 characters long description:
Powerful application passwords manager for WordPress with role-based usage control and full analytics reporting capabilities.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected37,056 lines of code in 436 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 1,922 | 2,305 | 20,353 |
PHP | 117 | 1,308 | 7,714 | 10,162 |
SVG | 285 | 0 | 1 | 4,251 |
CSS | 13 | 284 | 2 | 1,920 |
Markdown | 7 | 146 | 0 | 317 |
JSON | 2 | 0 | 0 | 53 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 16.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 184.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 13 | |
Traits | 15 | |
Classes | 73 | |
▷ Abstract classes | 2 | 2.74% |
▷ Concrete classes | 71 | 97.26% |
▷ Final classes | 0 | 0.00% |
Methods | 686 | |
▷ Static methods | 245 | 35.71% |
▷ Public methods | 505 | 73.62% |
▷ Protected methods | 111 | 16.18% |
▷ Private methods | 70 | 10.20% |
Functions | 18 | |
▷ Named functions | 6 | 33.33% |
▷ Anonymous functions | 12 | 66.67% |
Constants | 54 | |
▷ Global constants | 43 | 79.63% |
▷ Class constants | 11 | 20.37% |
▷ Public constants | 11 | 100.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