84% wpjm-jooble-feed

Code Review | XML Feed for Jooble and WP Job Manager

WordPress plugin XML Feed for Jooble and WP Job Manager scored 84% from 54 tests.

About plugin

  • Plugin page: wpjm-jooble-feed
  • Plugin version: 2.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.9.3
  • WordPress version: 6.3.1
  • First release: Jun 3, 2020
  • Latest release: Apr 25, 2022
  • Number of updates: 7
  • Update frequency: every 98.7 days
  • Top authors: npagazani (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 931 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.82ms] Passed 4 tests

Server-side resources used by XML Feed for Jooble and WP Job Manager
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0437.18 ▼3.37
Dashboard /wp-admin3.35 ▲0.0445.28 ▼9.34
Posts /wp-admin/edit.php3.40 ▲0.0445.90 ▼3.83
Add New Post /wp-admin/post-new.php5.93 ▲0.0481.52 ▼10.72
Media Library /wp-admin/upload.php3.27 ▲0.0434.44 ▲3.39
Jooble RSS Feed /wp-admin/options-general.php?page=wpjm-jooble-feed-settings-page3.2429.92

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for XML Feed for Jooble and WP Job Manager
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.24 ▼1.441.53 ▼0.3539.56 ▼9.89
Dashboard /wp-admin2,213 ▲344.84 ▼1.0796.31 ▼21.6937.90 ▼11.51
Posts /wp-admin/edit.php2,093 ▲42.01 ▲0.0133.41 ▼4.6031.89 ▼1.78
Add New Post /wp-admin/post-new.php1,536 ▲2223.43 ▲5.99698.31 ▲14.4056.04 ▲2.33
Media Library /wp-admin/upload.php1,395 ▲74.17 ▼0.0498.44 ▼6.2544.25 ▼0.07
Jooble RSS Feed /wp-admin/options-general.php?page=wpjm-jooble-feed-settings-page7792.0624.0524.03

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts

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 | 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
Almost there! Just 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 query_posts() in wp-content/plugins/wpjm-jooble-feed/rss-jooble.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: xml feed, jooble, wp job manager

wpjm-jooble-feed/wpjm-jooble-feed.php 92% from 13 tests

The main PHP file in "XML Feed for Jooble and WP Job Manager" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin184 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP35429184

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.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

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