10% career-builder-jobsearch

Code Review | career builder job search plugin

WordPress plugin career builder job search plugin scored10%from 54 tests.

About plugin

  • Plugin page: career-builder-jo...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.4
  • WordPress version: 6.3.1
  • First release: Feb 11, 2015
  • Latest release: Dec 4, 2015
  • Number of updates: 25
  • Update frequency: every 11.8 days
  • Top authors: ashwinisingh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,580 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
  • Install procedure had errors
    • > Deprecated in wp-content/plugins/career-builder-jobsearch/career-builder-jobsearch.php+18
    Methods with the same name as their class will not be constructors in a future version of PHP; career_builder_jobsearch has a deprecated constructor

Server metrics [RAM: ▼1.71MB] [CPU: ▼47.26ms] Passed 4 tests

A check of server-side resources used by career builder job search plugin
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.28 ▼1.188.27 ▼38.33
Dashboard /wp-admin2.29 ▼1.0113.72 ▼39.43
Posts /wp-admin/edit.php2.29 ▼1.0610.59 ▼35.81
Add New Post /wp-admin/post-new.php2.29 ▼3.5910.84 ▼75.46
Media Library /wp-admin/upload.php2.29 ▼0.9410.70 ▼23.99

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

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

Browser metrics Passed 4 tests

Checking browser requirements for career builder job search plugin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.25 ▼1.131.81 ▼0.4143.05 ▼3.09
Dashboard /wp-admin2,206 ▲184.83 ▼0.99108.93 ▲1.1042.27 ▲0.16
Posts /wp-admin/edit.php2,089 ▼02.01 ▲0.0235.20 ▼2.8332.61 ▼2.38
Add New Post /wp-admin/post-new.php1,538 ▲2423.27 ▲5.47588.33 ▼113.5649.09 ▼6.91
Media Library /wp-admin/upload.php1,388 ▲34.25 ▲0.0497.57 ▼18.4242.41 ▼3.57

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > User deprecated in wp-includes/functions.php+5546
    The called constructor method for WP_Widget class in career_builder_jobsearch is deprecated since version 4.3.0! Use __construct() instead.
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_career_builder_jobsearh
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

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 Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: widget, job search, wordpressorg, wordpress, job search listing

career-builder-jobsearch/career-builder-jobsearch.php Passed 13 tests

The main PHP script in "career builder job search plugin" version 1.2 is automatically included on every request by WordPress
73 characters long description:
A plugin that is used to search and fetch jobs from career builder api..

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin100 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12824100

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.05
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.75
▷ Minimum method complexity1.00
▷ Maximum method complexity4.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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin