90% wp-job-manager-companies

Code Review | WP Job Manager - Company Profiles

WordPress plugin WP Job Manager - Company Profiles scored90%from 54 tests.

About plugin

  • Plugin page: wp-job-manager-co...
  • Plugin version: 1.7
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.3
  • WordPress version: 6.3.1
  • First release: Jul 30, 2013
  • Latest release: Aug 25, 2023
  • Number of updates: 41
  • Update frequency: every 89.7 days
  • Top authors: adampickering (87.8%)Astoundify (12.2%)erdanish4 (4.88%)

Code review

54 tests

User reviews

17 reviews

Install metrics

5,000+ active /142,807 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by WP Job Manager - Company Profiles
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0545.73 ▲10.64
Dashboard /wp-admin3.35 ▲0.0445.02 ▼0.85
Posts /wp-admin/edit.php3.40 ▲0.0443.16 ▼0.96
Add New Post /wp-admin/post-new.php5.93 ▲0.0490.26 ▲3.42
Media Library /wp-admin/upload.php3.27 ▲0.0432.79 ▼2.15

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for WP Job Manager - Company Profiles
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.14 ▼0.221.68 ▼0.2643.22 ▲4.46
Dashboard /wp-admin2,195 ▲185.63 ▼0.0192.95 ▲3.0742.99 ▲2.00
Posts /wp-admin/edit.php2,100 ▼01.97 ▲0.0235.82 ▼1.3534.72 ▼2.31
Add New Post /wp-admin/post-new.php1,535 ▲918.15 ▼4.99590.51 ▼86.6869.22 ▲15.08
Media Library /wp-admin/upload.php1,400 ▲34.17 ▼0.0493.43 ▼12.4141.13 ▼5.76

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: companies, company list, job listing, job

wp-job-manager-companies/wp-job-manager-companies.php Passed 13 tests

The main PHP file in "WP Job Manager - Company Profiles" ver. 1.7 adds more information about the plugin and also serves as the entry point for this plugin
88 characters long description:
Output a list of all companies that have posted a job, with a link to a company profile.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin199 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP165116168
PO File17931

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity19.00
▷ Minimum class complexity19.00
▷ Maximum class complexity19.00
Average method complexity2.38
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods17.69%
▷ Public methods1184.62%
▷ Protected methods00.00%
▷ Private methods215.38%
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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected