84% wp-jobs2careers

Code Review | WP Talroo

WordPress plugin WP Talroo scored84%from 54 tests.

About plugin

  • Plugin page: wp-jobs2careers
  • Plugin version: 2.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.2
  • WordPress version: 6.3.1
  • First release: Nov 2, 2016
  • Latest release: May 14, 2019
  • Number of updates: 127
  • Update frequency: every 7.3 days
  • Top authors: boybawang (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

30+ active /2,726 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▼0.40ms] Passed 4 tests

An overview of server-side resources used by WP Talroo
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1043.31 ▲2.72
Dashboard /wp-admin3.41 ▲0.1050.68 ▲0.92
Posts /wp-admin/edit.php3.46 ▲0.1045.80 ▼1.21
Add New Post /wp-admin/post-new.php5.99 ▲0.1084.44 ▼3.33
Media Library /wp-admin/upload.php3.33 ▲0.1036.39 ▲2.00
WP Talroo /wp-admin/options-general.php?page=wp-talroo3.3133.38

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
j2c_admin_options
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Talroo
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲7413.62 ▼1.064.35 ▲2.4044.99 ▲0.77
Dashboard /wp-admin2,215 ▲244.85 ▼0.0497.92 ▼7.8536.86 ▼4.79
Posts /wp-admin/edit.php2,098 ▲62.02 ▼0.0438.62 ▼0.9832.30 ▼2.30
Add New Post /wp-admin/post-new.php1,542 ▲2818.31 ▲0.80638.48 ▼7.1465.22 ▲21.96
Media Library /wp-admin/upload.php1,391 ▲34.19 ▼0.0299.48 ▲2.6243.40 ▼1.95
WP Talroo /wp-admin/options-general.php?page=wp-talroo1,0082.0225.9725.65

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

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
Everything seems fine, however this is by no means an exhaustive test

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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/wp-jobs2careers/wp-jobs2careers.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: monetize, talroo, board, partner, api...

wp-jobs2careers/wp-jobs2careers.php Passed 13 tests

The primary PHP file in "WP Talroo" version 2.4 is used by WordPress to initiate all plugin functionality
56 characters long description:
Connect to the Talroo API and display jobs on your site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin932 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP718734654
CSS25422213
JavaScript114665

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions20
▷ Named functions20100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.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 are no PNG files in this plugin