10% hiringthing-job-listings

Code Review | WP HiringThing

WordPress plugin WP HiringThing scored10%from 54 tests.

About plugin

  • Plugin page: hiringthing-job-l...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Mar 14, 2013
  • Latest release: Sep 5, 2013
  • Number of updates: 6
  • Update frequency: every 36.3 days
  • Top authors: hiringthing (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,219 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/hiringthing-job-listings/wp-hiringthing.php+12
    Function create_function() is deprecated

Server metrics [RAM: ▼1.92MB] [CPU: ▼52.22ms] Passed 4 tests

This is a short check of server-side resources used by WP HiringThing
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.06 ▼1.407.11 ▼33.12
Dashboard /wp-admin2.08 ▼1.225.38 ▼46.69
Posts /wp-admin/edit.php2.08 ▼1.276.93 ▼44.68
Add New Post /wp-admin/post-new.php2.08 ▼3.805.05 ▼84.38
Media Library /wp-admin/upload.php2.08 ▼1.155.36 ▼29.39

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_wp_hiringthing_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP HiringThing
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.48 ▼0.131.75 ▼0.1842.86 ▲0.32
Dashboard /wp-admin2,206 ▲184.85 ▼0.01112.03 ▼5.9642.30 ▼4.83
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0739.39 ▼2.8437.54 ▼0.97
Add New Post /wp-admin/post-new.php1,519 ▲522.94 ▲5.37690.00 ▼32.1253.51 ▲1.08
Media Library /wp-admin/upload.php1,388 ▼34.13 ▼0.0798.94 ▼6.1644.40 ▲2.71

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/hiringthing-job-listings/wp-hiringthing.php+12
    Function create_function() is deprecated
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_wp_hiringthing_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

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
The smoke test was a success, however most plugin functionality was not tested

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 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/hiringthing-job-listings/wp-hiringthing.php:12

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 87% from 29 tests

readme.txt 88% 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
These attributes need your attention:
  • Requires at least: Invalid version format
  • Screenshots: Please add an image for screenshot #1 (An example of the plugin used in a basic layout. Styling will match your Wordpress Theme.)
The official readme.txt might help

hiringthing-job-listings/wp-hiringthing.php 85% from 13 tests

The main file in "WP HiringThing" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("hiringthing-job-listings.php" instead of "wp-hiringthing.php")
  • Description: Please don't use more than 140 characters for the plugin description (currently 367 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin59 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP153759

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected