94% 12handz

Code Review | 12Handz Plugin

WordPress plugin 12Handz Plugin scored 94% from 54 tests.

About plugin

  • Plugin page: 12handz
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.8.1
  • WordPress version: 5.9.2
  • First release: Dec 13, 2021
  • Latest release: Jan 30, 2022
  • Number of updates: 7
  • Update frequency: every 8.3 days
  • Top authors: 12handz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 168 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼310.61ms] Passed 4 tests

Analyzing server-side resources used by 12Handz Plugin
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0256.11 ▲4.04
Dashboard /wp-admin3.42 ▲0.0233.82 ▼0.29
Posts /wp-admin/edit.php3.66 ▲0.0241.77 ▲3.85
Add New Post /wp-admin/post-new.php6.89 ▼0.0891.67 ▼1,243.31
Media Library /wp-admin/upload.php3.31 ▲0.0125.42 ▼2.70

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for 12Handz Plugin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,843 ▲8915.84 ▲0.147.07 ▲0.422.53 ▲0.13
Dashboard /wp-admin2,950 ▲896.16 ▼0.14121.50 ▼19.39157.55 ▲1.89
Posts /wp-admin/edit.php2,749 ▲583.25 ▲0.0164.84 ▲1.70139.63 ▼3.53
Add New Post /wp-admin/post-new.php1,671 ▼4016.21 ▼4.60404.57 ▼55.21153.48 ▼2.88
Media Library /wp-admin/upload.php1,753 ▲585.54 ▲0.01142.08 ▲0.90185.60 ▼0.69

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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_action() in wp-content/plugins/12handz/12h-plugin.php:9

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)
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Screenshots are stored in the /assets directory.), #2 (This is the second screen shot)
Please take inspiration from this readme.txt

12handz/12h-plugin.php 92% from 13 tests

The primary PHP file in "12Handz Plugin" version 1.1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("12handz.php" instead of "12h-plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin75 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.06
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 functions4100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected