84% kikushima-jobs

Code Review | Kikushima jobs

WordPress plugin Kikushima jobs scored84%from 54 tests.

About plugin

  • Plugin page: kikushima-jobs
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.3.2
  • WordPress version: 6.3.1
  • First release: May 25, 2020
  • Latest release: May 25, 2020
  • Number of updates: 5
  • Update frequency: every 0.6 days
  • Top authors: kikutou (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /443 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼5.67ms] Passed 4 tests

This is a short check of server-side resources used by Kikushima jobs
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0739.24 ▲0.62
Dashboard /wp-admin3.37 ▲0.0348.32 ▼13.53
Posts /wp-admin/edit.php3.43 ▲0.0744.64 ▼1.68
Add New Post /wp-admin/post-new.php6.03 ▲0.1492.07 ▼5.65
Media Library /wp-admin/upload.php3.30 ▲0.0735.31 ▼1.80
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=jobs3.2932.23
jobs /wp-admin/edit.php?post_type=jobs3.3435.95
new job /wp-admin/post-new.php?post_type=jobs6.0278.57

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Kikushima jobs
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,908 ▲14713.54 ▼0.7111.45 ▲9.9044.66 ▲5.35
Dashboard /wp-admin2,226 ▲495.59 ▼0.0685.15 ▼1.2239.66 ▼4.43
Posts /wp-admin/edit.php2,131 ▲312.01 ▼0.0435.99 ▲1.4339.35 ▲4.91
Add New Post /wp-admin/post-new.php1,562 ▲3618.26 ▼4.88615.49 ▼67.9265.64 ▲12.52
Media Library /wp-admin/upload.php1,434 ▲344.22 ▲0.05100.58 ▼5.3645.05 ▼0.07
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=jobs1,3472.1227.3229.73
jobs /wp-admin/edit.php?post_type=jobs1,1091.9331.2025.76
new job /wp-admin/post-new.php?post_type=jobs6,21122.50886.1228.41

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 take a closer look at the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/kikushima-jobs/kikushima-jobs.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Add job information on the admin dashboard), #2 (Add shortcode to any page or post as you like), #3 (Recruit information will be displayed on the front page)
The official readme.txt is a good inspiration

kikushima-jobs/kikushima-jobs.php Passed 13 tests

"Kikushima jobs" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
54 characters long description:
Add jobs shortcode to display jobs on the recruit page

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected430 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP110835340
PO File1212955
CSS28634
JavaScript1061

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity29.00
▷ Minimum class complexity29.00
▷ Maximum class complexity29.00
Average method complexity3.80
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods770.00%
▷ Protected methods00.00%
▷ Private methods330.00%
Functions0
▷ Named functions00.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 were not PNG files found in your plugin