89% cryokey

Code Review | CryoKey

WordPress plugin CryoKey scored 89% from 54 tests.

About plugin

  • Plugin page: cryokey
  • Plugin version: 2.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.5.1
  • WordPress version: 5.8.1
  • First release: Feb 25, 2013
  • Latest release: Dec 7, 2013
  • Number of updates: 29
  • Update frequency: every 9.8 days
  • Top authors: cryokey (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 909 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /2.89 ▲0.0649.49 ▲12.39
Dashboard /wp-admin3.12 ▲0.0651.98 ▼10.19
Posts /wp-admin/edit.php3.17 ▲0.0651.10 ▼2.06
Add New Post /wp-admin/post-new.php5.48 ▲0.04100.20 ▼568.71
Media Library /wp-admin/upload.php3.06 ▲0.0638.78 ▲5.68
CryoKey /wp-admin/options-general.php?page=cryokey/cryokey.php3.0130.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,725 ▲15516.39 ▲0.328.81 ▼1.7850.14 ▼5.44
Dashboard /wp-admin2,972 ▲386.16 ▲0.16173.44 ▼7.36109.62 ▼12.07
Posts /wp-admin/edit.php2,744 ▲52.71 ▼0.0170.49 ▲0.7185.04 ▼3.86
Add New Post /wp-admin/post-new.php1,686 ▲318.75 ▲0.43398.02 ▼43.48114.84 ▲1.98
Media Library /wp-admin/upload.php1,812 ▲55.05 ▲0.00173.89 ▲12.39118.00 ▼10.10
CryoKey /wp-admin/options-general.php?page=cryokey/cryokey.php1,0572.1058.8677.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

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


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:
LanguageFilesBlank linesComment linesLines of code

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 code0.46
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions20100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
ckicon.png1.84KB1.38KB▼ 25.33%