10% vc-eboss-api

Code Review | EBoss Recruitment Software WEB API

WordPress plugin EBoss Recruitment Software WEB API scored 10% from 54 tests.

About plugin

  • Plugin page: vc-eboss-api
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9.6
  • WordPress version: 6.3.1
  • First release: Jun 16, 2016
  • Latest release: Jun 11, 2018
  • Number of updates: 15
  • Update frequency: every 48.3 days
  • Top authors: vinayshah5 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 841 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • The plugin did not install without errors
    • > Warning in wp-content/plugins/vc-eboss-api/plugin.php+14
    require_once(wp-content/plugins/vc-eboss-api/vendor/autoload.php): failed to open stream: No such file or directory

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

Analyzing server-side resources used by EBoss Recruitment Software WEB API
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.36 ▼4.67
Dashboard /wp-admin3.31 ▲0.0044.19 ▼3.47
Posts /wp-admin/edit.php3.36 ▲0.0046.39 ▼4.63
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.18 ▼13.29
Media Library /wp-admin/upload.php3.23 ▲0.0034.74 ▼0.14

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for EBoss Recruitment Software WEB API
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.14 ▼1.521.73 ▼0.2541.10 ▼0.84
Dashboard /wp-admin2,203 ▲155.78 ▼0.03112.40 ▼1.2139.63 ▼8.25
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0741.12 ▼1.3433.57 ▼5.00
Add New Post /wp-admin/post-new.php1,533 ▲1323.09 ▼0.09646.78 ▼44.1949.01 ▼4.45
Media Library /wp-admin/upload.php1,388 ▼34.29 ▲0.1295.94 ▼6.0141.75 ▼2.31

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • 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 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
  • 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to a member function add() on null in wp-content/plugins/vc-eboss-api/app/api.php:9
    • > PHP Fatal error
      Uncaught Error: Call to a member function add() on null in wp-content/plugins/vc-eboss-api/app/panels.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function eBossApi\\add_action() in wp-content/plugins/vc-eboss-api/app/eBossApi/eBossSettings.php:8
    • > PHP Notice
      Undefined variable: panel in wp-content/plugins/vc-eboss-api/app/panels.php on line 8
    • > PHP Fatal error
      require_once(): Failed opening required 'wp-content/plugins/vc-eboss-api/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/vc-eboss-api/plugin.php on line 14
    • > PHP Fatal error
      Uncaught Error: Class 'eBossApi\\eBossApiClass' not found in wp-content/plugins/vc-eboss-api/app/eBossApi/StandardEntity.php:11
    • > PHP Notice
      Undefined variable: enqueue in wp-content/plugins/vc-eboss-api/app/enqueue.php on line 5
    • > PHP Notice
      Undefined variable: router in wp-content/plugins/vc-eboss-api/app/routes.php on line 17
    • > PHP Fatal error
      Uncaught Error: Call to a member function admin() on null in wp-content/plugins/vc-eboss-api/app/enqueue.php:5
    • > PHP Fatal error
      Uncaught Error: Call to a member function get() on null in wp-content/plugins/vc-eboss-api/app/routes.php:17

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

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Screenshots: Add images for these screenshots: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
The official readme.txt might help

vc-eboss-api/plugin.php 92% from 13 tests

Analyzing the main PHP file in "EBoss Recruitment Software WEB API" version 1.0.3
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("vc-eboss-api.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,370 lines of code in 51 files:
LanguageFilesBlank linesComment linesLines of code
PHP224114871,482
JavaScript5149156814
Twig15626563
HTML21146251
Markdown3810176
JSON30081
CSS1003

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity11.25
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.40
▷ Minimum method complexity1.00
▷ Maximum method complexity30.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes12
▷ Abstract classes00.00%
▷ Concrete classes12100.00%
▷ Final classes00.00%
Methods88
▷ Static methods3236.36%
▷ Public methods8697.73%
▷ Protected methods11.14%
▷ Private methods11.14%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
resources/assets/images/logo.png16.54KB1.42KB▼ 91.40%