Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.30ms] Passed 4 tests
Analyzing server-side resources used by Password Strength Indicator using jQuery and XML
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.46 ▼3.91 |
Dashboard /wp-admin | 3.32 ▼0.02 | 50.66 ▼18.38 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 58.22 ▲4.10 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 90.00 ▼11.32 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 39.05 ▲0.42 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Password Strength Indicator using jQuery and XML
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲100 | 14.74 ▲0.38 | 2.01 ▼0.37 | 41.10 ▼2.61 |
Dashboard /wp-admin | 2,267 ▲93 | 5.73 ▲0.22 | 95.39 ▼8.50 | 39.91 ▼6.46 |
Posts /wp-admin/edit.php | 2,172 ▲69 | 2.04 ▲0.09 | 39.24 ▲3.67 | 35.12 ▼1.55 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.09 ▲0.00 | 752.06 ▲52.30 | 74.56 ▲6.70 |
Media Library /wp-admin/upload.php | 1,472 ▲72 | 4.33 ▲0.16 | 102.78 ▼3.14 | 44.60 ▼0.43 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/password-strength-indicator-using-jquery-and-xml/password-strength-indicator-using-jquery-and-xml.php:93
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 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
4 plugin tags: password strength validation with jquery, jquery password indicator, jquery password strength meter, jquery password strength plugin
password-strength-indicator-using-jquery-and-xml/password-strength-indicator-using-jquery-and-xml.php Passed 13 tests
Analyzing the main PHP file in "Password Strength Indicator using jQuery and XML" version 1.0
47 characters long description:
Password Strength Indicator with jQuery and XML
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
Good job! No executable or dangerous file extensions detected138 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 22 | 64 |
XSLT | 1 | 1 | 0 | 57 |
XML | 1 | 0 | 1 | 15 |
JavaScript | 2 | 75 | 58 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 31.58KB | 15.91KB | ▼ 49.62% |