83% kotive-taskflow-shortcode

Code Review | Kotive Workflow Shortcode

WordPress plugin Kotive Workflow Shortcode scored83%from 54 tests.

About plugin

  • Plugin page: kotive-taskflow-s...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.6-5.4
  • WordPress version: 6.3.1
  • First release: Feb 3, 2016
  • Latest release: Mar 10, 2020
  • Number of updates: 5
  • Update frequency: every 299.4 days
  • Top authors: hendrikrust (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /565 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

Server-side resources used by Kotive Workflow Shortcode
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.31 ▼2.68
Dashboard /wp-admin3.32 ▼0.0342.84 ▼18.01
Posts /wp-admin/edit.php3.37 ▲0.0144.51 ▼0.98
Add New Post /wp-admin/post-new.php5.90 ▲0.0192.81 ▼4.74
Media Library /wp-admin/upload.php3.24 ▲0.0133.65 ▼1.14

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Kotive Workflow Shortcode: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.48 ▲0.111.93 ▲0.0840.80 ▼6.16
Dashboard /wp-admin2,206 ▲155.81 ▲0.93106.53 ▼6.2338.89 ▼3.13
Posts /wp-admin/edit.php2,089 ▼02.04 ▼0.0039.82 ▲1.9635.65 ▲3.52
Add New Post /wp-admin/post-new.php1,548 ▲1618.57 ▼4.81609.07 ▼76.5168.90 ▼13.16
Media Library /wp-admin/upload.php1,385 ▼04.30 ▲0.0995.73 ▼6.1045.14 ▼1.43

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

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 fix 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_shortcode() in wp-content/plugins/kotive-taskflow-shortcode/kotive.php:41

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Plugin Name: You should set the name of your plugin on the first line ( === kotive-taskflow-shortcode === )
You can take inspiration from this readme.txt

kotive-taskflow-shortcode/kotive.php 77% from 13 tests

The primary PHP file in "Kotive Workflow Shortcode" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Description: The description should be shorter than 140 characters (currently 263 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("kotive-taskflow-shortcode.php" instead of "kotive.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 plugin24 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP110924

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.22
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
No PNG images were found in this plugin