94% omnikick

Code Review | OmniKick

WordPress plugin OmniKick scored 94% from 54 tests.

About plugin

  • Plugin page: omnikick
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.9.6
  • WordPress version: 5.8.1
  • First release: Oct 5, 2018
  • Latest release: Oct 5, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: growthfunnel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 307 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼168.69ms] Passed 4 tests

Analyzing server-side resources used by OmniKick
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1338.23 ▼18.69
Dashboard /wp-admin3.08 ▲0.0350.78 ▼6.77
Posts /wp-admin/edit.php3.13 ▲0.0151.02 ▼49.02
Add New Post /wp-admin/post-new.php5.44 ▲0.0097.18 ▼600.26
Media Library /wp-admin/upload.php3.02 ▲0.0253.29 ▲14.90

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by OmniKick
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,699 ▲12715.86 ▲0.5212.76 ▲0.0848.95 ▼17.34
Dashboard /wp-admin2,987 ▲535.91 ▼0.07145.82 ▼77.73114.41 ▼32.10
Posts /wp-admin/edit.php2,759 ▲202.71 ▼0.0180.00 ▼12.2692.15 ▼10.11
Add New Post /wp-admin/post-new.php1,696 ▲8118.73 ▼2.18407.13 ▲14.75120.63 ▼38.58
Media Library /wp-admin/upload.php1,827 ▲205.03 ▲0.01193.13 ▼12.62130.51 ▼4.72

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 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/omnikick/gfsw.js.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Screenshots: Please add an image for screenshot #1 (`/assets/screenshot-1.png`)
The official readme.txt might help

omnikick/omnikick.php 92% from 13 tests

The main file in "OmniKick" v. 1.0.0 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:
  • Domain Path: The domain path folder does not exist ("/languages")

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
Good job! No executable or dangerous file extensions detected109 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP31962109

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity3.00
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.33
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods7
▷ Static methods114.29%
▷ Public methods685.71%
▷ Protected methods00.00%
▷ Private methods114.29%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin