83% kanban-ninja-forms

Code Review | Kanban + Ninja Forms

WordPress plugin Kanban + Ninja Forms scored83%from 54 tests.

About plugin

  • Plugin page: kanban-ninja-forms
  • Plugin version: 0.0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.7.1
  • WordPress version: 6.3.1
  • First release: Nov 29, 2016
  • Latest release: May 10, 2021
  • Number of updates: 14
  • Update frequency: every 117.4 days
  • Top authors: gelform (57.14%)kkoppenhaver (50%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,381 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

Analyzing server-side resources used by Kanban + Ninja Forms
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.94 ▲2.79
Dashboard /wp-admin3.31 ▼0.0443.54 ▼15.01
Posts /wp-admin/edit.php3.36 ▲0.0044.19 ▼1.36
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.34 ▼8.56
Media Library /wp-admin/upload.php3.23 ▲0.0032.47 ▼4.00

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Kanban + Ninja Forms
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.57 ▼1.131.61 ▼0.1540.11 ▼2.26
Dashboard /wp-admin2,209 ▲175.96 ▲1.0397.20 ▼19.7739.72 ▼1.34
Posts /wp-admin/edit.php2,089 ▲32.00 ▼0.0539.26 ▲2.3934.52 ▲3.61
Add New Post /wp-admin/post-new.php1,533 ▲1423.17 ▲0.05630.92 ▼21.3447.37 ▼14.60
Media Library /wp-admin/upload.php1,391 ▲34.20 ▲0.0099.13 ▲4.3141.45 ▼2.67

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments

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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/kanban-ninja-forms/templates/admin-page.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Screenshots: Add an image for screenshot #1 (The admin screen for mapping form fields to task data)
You can look at the official readme.txt

kanban-ninja-forms/kanban-ninja-forms.php 85% from 13 tests

This is the main PHP file of "Kanban + Ninja Forms" version 0.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages/")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin463 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP220079463

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.58
Average class complexity43.00
▷ Minimum class complexity43.00
▷ Maximum class complexity43.00
Average method complexity5.67
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods9100.00%
▷ Public methods9100.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

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin