84% job-listings-resume

Code Review | Job Listings - Resume

WordPress plugin Job Listings - Resume scored84%from 54 tests.

About plugin

  • Plugin page: job-listings-resume
  • Plugin version: 0.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-4.7.5
  • WordPress version: 6.3.1
  • First release: May 29, 2017
  • Latest release: May 29, 2017
  • Number of updates: 3
  • Update frequency: every 1.7 days
  • Top authors: nootheme (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /922 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 successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Job Listings - Resume
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0142.22 ▲0.35
Dashboard /wp-admin3.32 ▲0.0246.58 ▼4.68
Posts /wp-admin/edit.php3.37 ▲0.0147.12 ▼2.13
Add New Post /wp-admin/post-new.php5.90 ▲0.0188.76 ▼11.71
Media Library /wp-admin/upload.php3.25 ▲0.0136.78 ▲0.75

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Job Listings - Resume
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.70 ▼0.884.61 ▲2.5140.33 ▼2.83
Dashboard /wp-admin2,206 ▲185.89 ▲0.0796.44 ▼21.8138.78 ▼4.60
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0438.77 ▲3.0234.57 ▲1.27
Add New Post /wp-admin/post-new.php1,533 ▲1123.26 ▲0.28659.23 ▲17.3448.59 ▼3.29
Media Library /wp-admin/upload.php1,388 ▲34.22 ▲0.0196.00 ▼6.5542.36 ▼0.86

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
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-listings-resume/includes/resume-query.php:38
    • > PHP Warning
      Use of undefined constant JLT_RESUME_PLUGIN_DIR - assumed 'JLT_RESUME_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/job-listings-resume/classes/loader.php on line 3
    • > PHP Warning
      require_once(JLT_RESUME_PLUGIN_DIRincludes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/job-listings-resume/includes/loader.php on line 3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/job-listings-resume/includes/admin.php:14
    • > PHP Fatal error
      require_once(): Failed opening required 'JLT_RESUME_PLUGIN_DIRclasses/class-resume-form-hander.php' (include_path='.:/usr/share/php') in wp-content/plugins/job-listings-resume/classes/loader.php on line 3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-listings-resume/classes/class-resume-form-hander.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/job-listings-resume/includes/resume-shortcodes.php:34
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/job-listings-resume/includes/functions.php:83
    • > PHP Warning
      require_once(JLT_RESUME_PLUGIN_DIRclasses/class-resume-form-hander.php): failed to open stream: No such file or directory in wp-content/plugins/job-listings-resume/classes/loader.php on line 3
    • > PHP Warning
      Use of undefined constant JLT_RESUME_PLUGIN_DIR - assumed 'JLT_RESUME_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/job-listings-resume/includes/loader.php on line 3

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: job manager, employment, job board, job listings, job management

job-listings-resume/job-listings-resume.php Passed 13 tests

The entry point to "Job Listings - Resume" version 0.1.0 is a PHP file that has certain tags in its header comment area
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.

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 plugin4,250 lines of code in 58 files:
LanguageFilesBlank linesComment linesLines of code
PHP551,0135344,086
CSS2264146
JavaScript14318

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity41.50
▷ Minimum class complexity6.00
▷ Maximum class complexity105.00
Average method complexity4.06
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods53
▷ Static methods2547.17%
▷ Public methods5196.23%
▷ Protected methods00.00%
▷ Private methods23.77%
Functions118
▷ Named functions118100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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 images were found in this plugin