Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.66ms] Passed 4 tests
Server-side resources used by Karlog-IT Simple SSL
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.09 ▲2.19 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.73 ▼2.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.88 ▼1.58 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.87 ▼20.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.72 ▲3.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Karlog-IT Simple SSL
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.25 ▼0.03 | 1.64 ▼0.52 | 40.92 ▼1.81 |
Dashboard /wp-admin | 2,218 ▲38 | 5.56 ▼0.19 | 86.42 ▼4.62 | 38.96 ▼1.42 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 2.02 ▲0.05 | 38.46 ▼2.46 | 35.73 ▼2.09 |
Add New Post /wp-admin/post-new.php | 1,546 ▲11 | 23.12 ▲5.07 | 677.00 ▲60.08 | 55.58 ▼4.03 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.14 ▼0.02 | 104.71 ▼0.88 | 51.54 ▲7.01 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Error in wp-content/plugins/karlog-it-simple-ssl/helpers/Handler.php+5
Cannot declare class HTTPS_Direct\Helpers\Handler, because the name is already in use
- The plugin did not uninstall successfully, leaving 6 files (0.01MB) in the plugin directory
- (new file) custom/script.js
- (new file) helpers/Handler.php
- (new file) uninstall.php
- (new file) karlog-it-simple_ssl.php
- (new file) readme.txt
- (new file) custom/style.css
- This plugin did not uninstall successfully, leaving 7 options in the database
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% 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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function HTTPS_Direct\\add_action() in wp-content/plugins/karlog-it-simple-ssl/karlog-it-simple_ssl.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: ssl, http, https, simple ssl, redirect
karlog-it-simple-ssl/karlog-it-simple_ssl.php 92% from 13 tests
Analyzing the main PHP file in "Karlog-IT Simple SSL" version 1.1
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("karlog-it-simple-ssl.php" instead of "karlog-it-simple_ssl.php")
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 plugin209 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 28 | 16 | 171 |
JavaScript | 1 | 4 | 0 | 20 |
CSS | 1 | 0 | 0 | 18 |
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.28 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 3 | 23.08% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 23.08% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
No PNG images were found in this plugin