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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.36 ▼4.67 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.19 ▼3.47 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.39 ▼4.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.18 ▼13.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.14 ▼1.52 | 1.73 ▼0.25 | 41.10 ▼0.84 |
Dashboard /wp-admin | 2,203 ▲15 | 5.78 ▼0.03 | 112.40 ▼1.21 | 39.63 ▼8.25 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.07 | 41.12 ▼1.34 | 33.57 ▼5.00 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.09 ▼0.09 | 646.78 ▼44.19 | 49.01 ▼4.45 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.29 ▲0.12 | 95.94 ▼6.01 | 41.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
- > PHP Fatal error
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)
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 411 | 487 | 1,482 |
JavaScript | 5 | 149 | 156 | 814 |
Twig | 15 | 62 | 6 | 563 |
HTML | 2 | 114 | 6 | 251 |
Markdown | 3 | 81 | 0 | 176 |
JSON | 3 | 0 | 0 | 81 |
CSS | 1 | 0 | 0 | 3 |
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 code | 0.26 |
Average class complexity | 11.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 32 | 36.36% |
▷ Public methods | 86 | 97.73% |
▷ Protected methods | 1 | 1.14% |
▷ Private methods | 1 | 1.14% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/assets/images/logo.png | 16.54KB | 1.42KB | ▼ 91.40% |