73% job-app-manager

Code Review | Job App Manager

WordPress plugin Job App Manager scored73%from 54 tests.

About plugin

  • Plugin page: job-app-manager
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.9
  • WordPress version: 6.3.1
  • First release: Jan 1, 2021
  • Latest release: Feb 23, 2022
  • Number of updates: 8
  • Update frequency: every 52.5 days
  • Top authors: hasanfardous (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,684 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼2.12ms] Passed 4 tests

Analyzing server-side resources used by Job App Manager
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0842.58 ▲2.92
Dashboard /wp-admin3.37 ▲0.0750.94 ▲7.23
Posts /wp-admin/edit.php3.49 ▲0.1346.08 ▼1.64
Add New Post /wp-admin/post-new.php5.95 ▲0.0784.81 ▼11.94
Media Library /wp-admin/upload.php3.30 ▲0.0734.47 ▲2.18

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: 1 new table, 7 new options
New tables
wp_applicant_submissions
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
job_app_manager_version
theysaidso_admin_options

Browser metrics Passed 4 tests

Job App Manager: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,942 ▲18113.31 ▼0.988.79 ▲7.1234.62 ▼10.19
Dashboard /wp-admin2,265 ▲915.63 ▼0.0286.46 ▼3.6544.51 ▲5.33
Posts /wp-admin/edit.php2,112 ▲92.03 ▲0.0833.93 ▼3.0235.15 ▼1.19
Add New Post /wp-admin/post-new.php1,547 ▲1918.08 ▼5.06611.57 ▼30.3374.77 ▲21.08
Media Library /wp-admin/upload.php1,403 ▲64.19 ▼0.01100.83 ▲1.2444.53 ▲0.63

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 1 table in the database
    • wp_applicant_submissions
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • job_app_manager_version

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 7× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/job-app-manager/includes/class-all-submissions.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-app-manager/includes/admin/admin-menu-page.php:4
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/job-app-manager/includes/class-all-submissions.php on line 4
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/job-app-manager/includes/class-all-submissions.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-app-manager/includes/admin/dashboard-widget.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-app-manager/includes/form-handling.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-app-manager/includes/shortcode.php:4

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

readme.txt 94% 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
Attributes that need to be fixed:
  • Screenshots: Please add images for these screenshots: #1 (Make a page where the Applicant form will appear with the shortcode [applicant_form]), #2 (The Applicant Form), #3 (All Submissions are available in Admin Menu Page), #4 (The Dashboard Widget by the Plugin with Latest Applicants List)
You can look at the official readme.txt

job-app-manager/job-app-manager.php 77% from 13 tests

Analyzing the main PHP file in "Job App Manager" version 1.0.2
Please take the time to fix the following:
  • Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "5.2")
  • Description: Keep the plugin description shorter than 140 characters (currently 211 characters long)
  • Requires PHP: Required version does not match the one declared in readme.txt ("7.0" instead of "7.2")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin506 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP84954380
CSS27258
JavaScript15454
Markdown19014

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions16
▷ Named functions1487.50%
▷ Anonymous functions212.50%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin