Benchmarks
Plugin footprint Passed 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.06MB] [CPU: ▼143.82ms] Passed 4 tests
A check of server-side resources used by CryoKey
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.06 | 49.49 ▲12.39 |
Dashboard /wp-admin | 3.12 ▲0.06 | 51.98 ▼10.19 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 51.10 ▼2.06 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 100.20 ▼568.71 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 38.78 ▲5.68 |
CryoKey /wp-admin/options-general.php?page=cryokey/cryokey.php | 3.01 | 30.90 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for CryoKey
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,725 ▲155 | 16.39 ▲0.32 | 8.81 ▼1.78 | 50.14 ▼5.44 |
Dashboard /wp-admin | 2,972 ▲38 | 6.16 ▲0.16 | 173.44 ▼7.36 | 109.62 ▼12.07 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.01 | 70.49 ▲0.71 | 85.04 ▼3.86 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.75 ▲0.43 | 398.02 ▼43.48 | 114.84 ▲1.98 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▲0.00 | 173.89 ▲12.39 | 118.00 ▼10.10 |
CryoKey /wp-admin/options-general.php?page=cryokey/cryokey.php | 1,057 | 2.10 | 58.86 | 77.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=cryokey/cryokey.php
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=cryokey/cryokey.php
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cryokey/cryokey.php:231
- > 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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: cryokey sso single sign on multifactor authentication
cryokey/cryokey.php Passed 13 tests
"CryoKey" version 2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
25 characters long description:
Basic CryoKey Integration
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected287 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 85 | 267 |
JavaScript | 1 | 6 | 7 | 20 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in 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 | 20 | |
▷ Named functions | 20 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
ckicon.png | 1.84KB | 1.38KB | ▼ 25.33% |