Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.54MB] [CPU: ▼17.97ms] Passed 4 tests
This is a short check of server-side resources used by GuardianKey
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 42.63 ▲3.28 |
Dashboard /wp-admin | 3.49 ▲0.11 | 50.37 ▼11.82 |
Posts /wp-admin/edit.php | 3.61 ▲0.21 | 52.31 ▼1.30 |
Add New Post /wp-admin/post-new.php | 3.37 ▼2.56 | 41.76 ▼59.78 |
Media Library /wp-admin/upload.php | 3.41 ▲0.14 | 38.46 ▲1.01 |
GuardianKey /wp-admin/tools.php?page=guardiankey | 3.43 | 40.84 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_guardiankey |
New WordPress options |
---|
widget_recent-posts |
gk_mailsubject |
can_compress_scripts |
gk_mailhtml |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
gk_admin_email |
Browser metrics Passed 4 tests
A check of browser resources used by GuardianKey
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.19 ▼0.16 | 1.70 ▼0.01 | 41.21 ▼2.58 |
Dashboard /wp-admin | 2,199 ▲25 | 5.58 ▼0.14 | 90.88 ▲2.61 | 40.92 ▼3.91 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.02 ▲0.01 | 40.10 ▲0.36 | 37.20 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.87 ▼0.64 | 685.90 ▲45.33 | 57.48 ▲0.50 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.15 ▼0.02 | 103.87 ▼1.79 | 44.98 ▲1.90 |
GuardianKey /wp-admin/tools.php?page=guardiankey | 2,013 | 7.34 | 165.73 | 104.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_guardiankey
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- gk_mailsubject
- db_upgraded
- gk_mailhtml
- gk_admin_email
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 fix the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/guardiankey/functions.php
- > /wp-content/plugins/guardiankey/viewresolve.php
- > /wp-content/plugins/guardiankey/index.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: t in wp-content/plugins/guardiankey/viewresolve.php on line 10
- > PHP Notice
Undefined property: stdClass::$LOCATION in wp-content/plugins/guardiankey/viewresolve.php on line 91
- > PHP Notice
Undefined index: e in wp-content/plugins/guardiankey/viewresolve.php on line 9
- > PHP Notice
Undefined property: stdClass::$DATETIME in wp-content/plugins/guardiankey/viewresolve.php on line 81
- > PHP Notice
Undefined property: stdClass::$IPADDRESS in wp-content/plugins/guardiankey/viewresolve.php on line 92
- > PHP Notice
Undefined property: stdClass::$USERNAME in wp-content/plugins/guardiankey/viewresolve.php on line 88
- > PHP Notice
Undefined property: stdClass::$return in wp-content/plugins/guardiankey/viewresolve.php on line 84
- > PHP Notice
Undefined property: stdClass::$SYSTEM in wp-content/plugins/guardiankey/viewresolve.php on line 90
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: authentication, block hackers, login security, security
guardiankey/index.php 85% from 13 tests
The principal PHP file in "GuardianKey" v. 3.11 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 361 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("guardiankey.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,005 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 198 | 27 | 1,005 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 19 | 90.48% |
▷ Anonymous functions | 2 | 9.52% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.24MB with 0.16MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-128x128.png | 0.88KB | 0.40KB | ▼ 54.22% |
screenshot-1.png | 151.58KB | 42.18KB | ▼ 72.17% |
screenshot-2.png | 91.90KB | 27.45KB | ▼ 70.13% |