99% cheatsheets

Code Review | Cheatsheets

WordPress plugin Cheatsheets scored 99% from 54 tests.

About plugin

  • Plugin page: cheatsheets
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-4.9.7
  • WordPress version: 5.8.1
  • First release: Aug 1, 2018
  • Latest release: Aug 5, 2018
  • Number of updates: 12
  • Update frequency: every 0.3 days
  • Top authors: vanadiuz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 346 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼168.78ms] Passed 4 tests

This is a short check of server-side resources used by Cheatsheets
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1233.65 ▲11.71
Dashboard /wp-admin3.06 ▲0.0143.18 ▲1.38
Posts /wp-admin/edit.php3.11 ▲0.0043.28 ▲1.00
Add New Post /wp-admin/post-new.php5.43 ▼0.0095.00 ▼675.14
Media Library /wp-admin/upload.php3.00 ▲0.0032.90 ▼2.35

Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Cheatsheets
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.84 ▲0.289.91 ▼0.6947.78 ▲2.64
Dashboard /wp-admin2,967 ▲365.91 ▼0.03140.24 ▲5.11104.13 ▲5.45
Posts /wp-admin/edit.php2,739 ▼02.71 ▼0.0165.20 ▼0.1892.50 ▲5.84
Add New Post /wp-admin/post-new.php1,684 ▲1218.93 ▲0.13374.64 ▼4.18129.15 ▲21.48
Media Library /wp-admin/upload.php1,807 ▼35.01 ▼0.08152.18 ▲1.19114.67 ▼8.20

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

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 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Screenshots: No descriptions were found for these screenshots #1, #2 in cheatsheets/assets to your readme.txt
You can look at the official readme.txt

cheatsheets/plugin.php 92% from 13 tests

The main file in "Cheatsheets" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
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 ("cheatsheets.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin7,582 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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 functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin