84% wp-applicantstack-jobs-display

Code Review | WP ApplicantStack Jobs Display

WordPress plugin WP ApplicantStack Jobs Display scored84%from 54 tests.

About plugin

  • Plugin page: wp-applicantstack...
  • Plugin version: 1.1.1
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.2
  • WordPress version: 6.3.1
  • First release: May 18, 2019
  • Latest release: May 18, 2019
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: JDM-labs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /557 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼0.69ms] Passed 4 tests

This is a short check of server-side resources used by WP ApplicantStack Jobs Display
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0438.90 ▼1.81
Dashboard /wp-admin3.35 ▲0.0545.99 ▲0.83
Posts /wp-admin/edit.php3.40 ▲0.0547.82 ▼0.12
Add New Post /wp-admin/post-new.php5.93 ▲0.0589.42 ▼1.27
Media Library /wp-admin/upload.php3.27 ▲0.0535.26 ▲0.44
ApplicantStack Jobs /wp-admin/options-general.php?page=applicantstack-jobs3.2429.23

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by WP ApplicantStack Jobs Display
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,889 ▲14313.67 ▼0.539.65 ▲7.8539.80 ▼0.36
Dashboard /wp-admin2,210 ▲194.85 ▼1.05109.62 ▼4.3238.24 ▼7.90
Posts /wp-admin/edit.php2,096 ▲102.00 ▼0.0539.72 ▼0.4534.56 ▼1.83
Add New Post /wp-admin/post-new.php1,522 ▼623.03 ▲4.93606.08 ▼26.2770.86 ▲16.19
Media Library /wp-admin/upload.php1,392 ▲74.24 ▲0.11101.08 ▲3.0044.48 ▲3.09
ApplicantStack Jobs /wp-admin/options-general.php?page=applicantstack-jobs8702.0224.7539.49

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-applicantstack-jobs-display/settings.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
3 plugin tags: ats, jobs display, applicantstack

wp-applicantstack-jobs-display/wp-applicantstack-jobs-display.php Passed 13 tests

This is the main PHP file of "WP ApplicantStack Jobs Display" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
121 characters long description:
A WordPress plugin which displays a responsive, filterable list of jobs from ApplicantStack's Jobs API using a Shortcode.

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
There were no executable files found in this plugin2,626 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript35418572,213
PHP55163257
CSS1117123
Markdown119033

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.08MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/ApplicantStack_300.png59.35KB4.14KB▼ 93.03%
img/ApplicantStack-logo.png27.19KB8.65KB▼ 68.18%