Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.67ms] Passed 4 tests
A check of server-side resources used by NertWorks Site Wide SSL
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.98 ▲2.38 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.41 ▼1.91 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.13 ▲3.70 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.83 ▼1.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.18 ▲6.06 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 9 new options
New WordPress options |
---|
nertworks_site_wide_ssl_redirect_type |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
nertworks_site_wide_ssl_dashboard_enabled |
nertworks_site_wide_ssl_website_enabled |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NertWorks Site Wide SSL
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲82 | 13.54 ▼0.83 | 1.61 ▼0.07 | 37.14 ▼4.57 |
Dashboard /wp-admin | 2,224 ▲42 | 5.99 ▲0.12 | 108.30 ▼0.28 | 80.52 ▲35.31 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.97 ▼0.04 | 38.49 ▲3.80 | 34.26 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 23.10 ▼0.15 | 755.65 ▲114.91 | 52.50 ▲4.17 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.21 ▲0.00 | 98.98 ▼3.21 | 73.45 ▲32.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- nertworks_site_wide_ssl_redirect_type
- nertworks_site_wide_ssl_website_enabled
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- nertworks_site_wide_ssl_dashboard_enabled
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/nertworks-site-wide-ssl/test-ssl.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nertworks-site-wide-ssl/sitewidessl.php:35
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Screenshot #1 (Screenshot of the Settings Page.) image not found
nertworks-site-wide-ssl/sitewidessl.php 92% from 13 tests
This is the main PHP file of "NertWorks Site Wide SSL" version 1.05, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nertworks-site-wide-ssl.php" instead of "sitewidessl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin211 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 23 | 207 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.29MB with 0.22MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 189.33KB | 31.06KB | ▼ 83.59% |
images/icon16.png | 29.04KB | 0.80KB | ▼ 97.26% |
images/nertworks_logo.png | 78.28KB | 35.29KB | ▼ 54.92% |
images/icon.png | 3.80KB | 1.31KB | ▼ 65.40% |