Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.50ms] Passed 4 tests
A check of server-side resources used by Fernet Encryption
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.07 | 42.69 ▲3.54 |
Dashboard /wp-admin | 3.41 ▲0.07 | 48.07 ▼7.27 |
Posts /wp-admin/edit.php | 3.53 ▲0.13 | 47.93 ▼5.26 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.07 | 87.15 ▼16.42 |
Media Library /wp-admin/upload.php | 3.34 ▲0.07 | 38.92 ▲2.96 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Fernet Encryption
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.29 ▼0.07 | 1.84 ▲0.12 | 43.89 ▼0.66 |
Dashboard /wp-admin | 2,219 ▲39 | 5.57 ▲0.06 | 88.05 ▼7.74 | 42.44 ▲0.35 |
Posts /wp-admin/edit.php | 2,128 ▲25 | 2.16 ▲0.19 | 37.37 ▼1.63 | 37.19 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.36 ▲0.16 | 650.17 ▲20.29 | 52.73 ▲1.76 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.30 ▼0.01 | 104.47 ▲1.74 | 47.07 ▼0.28 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
3 plugin tags: security, fernet, encryption
fernet-encryption/fernet-encryption.php 85% from 13 tests
This is the main PHP file of "Fernet Encryption" version 1.0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path folder does not exist ("/i18n/languages/")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.5" instead of "5.5")
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
Success! There were no dangerous files found in this plugin451 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 106 | 392 | 390 |
YAML | 2 | 1 | 0 | 46 |
Markdown | 1 | 6 | 0 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 3 | 15.79% |
▷ Public methods | 16 | 84.21% |
▷ Protected methods | 3 | 15.79% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/banner-1544x500.png | 32.35KB | 16.05KB | ▼ 50.38% |
.wordpress-org/icon-256x256.png | 10.78KB | 5.88KB | ▼ 45.47% |
.wordpress-org/banner-772x250.png | 18.83KB | 9.11KB | ▼ 51.62% |
.wordpress-org/icon-128x128.png | 3.64KB | 2.59KB | ▼ 28.89% |