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.07MB] [CPU: ▼1.61ms] Passed 4 tests
Server-side resources used by WP jCryption Security
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.62 ▲0.40 |
Dashboard /wp-admin | 3.38 ▲0.07 | 52.16 ▲1.68 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.17 ▲1.51 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.24 ▼10.03 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 44.83 ▲6.23 |
WP jCryption /wp-admin/options-general.php?page=wp_jcryption | 3.27 | 34.24 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
wp_jcryption_forms |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
wp_jcryption |
Browser metrics Passed 4 tests
An overview of browser requirements for WP jCryption Security
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 14.58 ▼0.17 | 1.62 ▼0.45 | 44.12 ▼1.73 |
Dashboard /wp-admin | 2,207 ▲19 | 4.81 ▼1.05 | 99.06 ▼9.44 | 42.10 ▼0.90 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.03 ▲0.01 | 41.46 ▼5.07 | 36.66 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,535 ▲1 | 22.01 ▼0.99 | 697.13 ▲5.43 | 62.69 ▲8.53 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.17 ▲0.05 | 115.11 ▼3.33 | 47.99 ▼0.81 |
WP jCryption /wp-admin/options-general.php?page=wp_jcryption | 879 | 2.05 | 22.53 | 32.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-comments
- wp_jcryption
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- wp_jcryption_forms
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-jcryption/wp-jcryption.php:42
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: password, jquery, security, login, aes...
wp-jcryption/wp-jcryption.php 92% from 13 tests
"WP jCryption Security" version 0.5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 475 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin4,135 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 343 | 1,181 | 3,503 |
PHP | 3 | 53 | 65 | 332 |
PO File | 4 | 80 | 156 | 296 |
Markdown | 1 | 3 | 0 | 3 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 9 | |
▷ Static methods | 4 | 44.44% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpjc-icon16x20.png | 3.65KB | 1.19KB | ▼ 67.43% |