84% cvirtuose-synchronizer

Code Review | CVirtuose Job synchronizer

WordPress plugin CVirtuose Job synchronizer scored 84% from 54 tests.

About plugin

  • Plugin page: cvirtuose-synchro...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1
  • WordPress version: 6.3.1
  • First release: Jan 23, 2023
  • Latest release: Jan 24, 2023
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: clablancherie (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 110 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.27ms] Passed 4 tests

A check of server-side resources used by CVirtuose Job synchronizer
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0042.52 ▲2.81
Dashboard /wp-admin3.31 ▲0.0048.62 ▲0.42
Posts /wp-admin/edit.php3.36 ▲0.0052.15 ▲2.33
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.42 ▼27.89
Media Library /wp-admin/upload.php3.23 ▲0.0037.80 ▲0.08

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for CVirtuose Job synchronizer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.74 ▲0.572.25 ▲0.3252.26 ▲4.46
Dashboard /wp-admin2,203 ▲155.89 ▲0.98117.89 ▼2.9343.20 ▼4.63
Posts /wp-admin/edit.php2,089 ▼01.98 ▼0.0936.20 ▼7.9234.14 ▼3.11
Add New Post /wp-admin/post-new.php1,542 ▲618.25 ▼5.01662.43 ▼12.6560.11 ▼3.98
Media Library /wp-admin/upload.php1,388 ▼04.32 ▲0.14120.12 ▼5.4756.52 ▲0.75

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/cvirtuose-synchronizer/views/settings-page.php:2

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, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 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
10 plugin tags: joboffers, api ats, synchonizer, api job, job offers...

cvirtuose-synchronizer/wordpress-cvirtuose.php 85% from 13 tests

The main PHP file in "CVirtuose Job synchronizer" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cvirtuose-synchronizer.php" instead of "wordpress-cvirtuose.php")

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
There were no executable files found in this plugin390 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP57184390

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity6.50
▷ Minimum class complexity1.00
▷ Maximum class complexity15.00
Average method complexity1.81
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods27
▷ Static methods311.11%
▷ Public methods2177.78%
▷ Protected methods00.00%
▷ Private methods622.22%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
No PNG images were found in this plugin