Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.34MB] [CPU: ▲2.40ms] Passed 4 tests
Analyzing server-side resources used by Passwords Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 44.90 ▲2.87 |
Dashboard /wp-admin | 3.64 ▲0.34 | 49.29 ▲4.54 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 48.23 ▼1.67 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 96.00 ▲8.43 |
Media Library /wp-admin/upload.php | 3.56 ▲0.34 | 36.49 ▲3.86 |
Server storage [IO: ▲6.48MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 102 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_pms_category |
wp_pms_passwords |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Passwords Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲191 | 14.68 ▲0.31 | 31.46 ▲29.64 | 43.99 ▼1.07 |
Dashboard /wp-admin | 2,207 ▲27 | 5.60 ▼0.04 | 89.84 ▼1.00 | 41.47 ▲0.03 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.94 ▼0.07 | 38.71 ▼0.77 | 33.18 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,538 ▲9 | 23.26 ▲0.25 | 596.22 ▼107.15 | 54.88 ▼6.75 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.17 ▼0.00 | 102.82 ▲3.18 | 41.07 ▼1.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/passwords-manager/include/pms-functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/passwords-manager/include/admin-page/addon/csv-export/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/passwords-manager/include/admin-page/addon/csv-export/pms-csv-export-setting-page/pms_export_html.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/passwords-manager/include/admin-page/addon/csv-import/pms-csv-import-setting-page/pms_import_html.php:6
- > PHP Warning
Use of undefined constant PWDMS_INC - assumed 'PWDMS_INC' (this will throw an Error in a future version of PHP) in wp-content/plugins/passwords-manager/include/admin-page/addon/csv-import/index.php on line 49
- > PHP Warning
include(): Failed opening 'PWDMS_INCadmin-page/addon/csv-import/pms-csv-import-setting-page/pms_import_html.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/passwords-manager/include/admin-page/addon/csv-import/index.php on line 49
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/passwords-manager/include/pms-categories.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/passwords-manager/include/pms-settings-ajax-action.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/passwords-manager/include/pms-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/passwords-manager/include/pms-front-shortcode.php:17
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Settings), #2 (Categories), #3 (Passwords), #4 (Export), #5 (Import), #6 (Support), #7 (Shortcode)
- Requires at least: Version format is invalid
passwords-manager/passwords-manager.php Passed 13 tests
The main PHP script in "Passwords Manager" version 1.4.7 is automatically included on every request by WordPress
64 characters long description:
Passwords Manager let you store all your passwords at one place.
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
There were no executable files found in this plugin15,051 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 9,554 |
PHP | 18 | 161 | 204 | 1,876 |
PO File | 7 | 750 | 915 | 1,694 |
JavaScript | 17 | 134 | 153 | 994 |
CSS | 11 | 110 | 65 | 841 |
JSON | 1 | 0 | 0 | 92 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 1 | 25.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 100.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
5 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/kinsta1.png | 6.33KB | 2.72KB | ▼ 56.94% |
assets/img/kinsta8.png | 11.32KB | 5.59KB | ▼ 50.63% |
assets/img/kinsta4.png | 3.91KB | 1.87KB | ▼ 52.26% |
assets/img/kinsta5.png | 6.61KB | 2.86KB | ▼ 56.73% |
assets/img/kinsta3.png | 18.09KB | 7.01KB | ▼ 61.27% |