Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.97MB] [CPU: ▼4.49ms] Passed 4 tests
A check of server-side resources used by Bullhorn api client for wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.45 ▲0.99 | 42.50 ▲1.23 |
Dashboard /wp-admin | 4.29 ▲0.95 | 49.68 ▼14.66 |
Posts /wp-admin/edit.php | 4.34 ▲0.98 | 54.03 ▲7.17 |
Add New Post /wp-admin/post-new.php | 6.87 ▲0.98 | 83.71 ▼11.71 |
Media Library /wp-admin/upload.php | 4.22 ▲0.98 | 43.22 ▲8.98 |
Server storage [IO: ▲1.35MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 306 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Bullhorn api client for wordpress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.11 | 1.76 ▼0.38 | 40.84 ▼12.23 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.09 | 102.76 ▼4.08 | 38.39 ▼0.61 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 36.11 ▼5.58 | 33.99 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.31 ▲5.88 | 685.59 ▲4.26 | 59.97 ▲3.00 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.20 ▲0.03 | 111.49 ▲9.97 | 47.97 ▼2.66 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 115× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Class 'Tightenco\\Collect\\Support\\Traits\\Macroable' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/tightenco/collect/src/Collect/Support/alias.php on line 19
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\ContextProviderInterface' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/symfony/var-dumper/Dumper/ContextProvider/CliContextProvider.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
Uncaught Error: Interface 'Tightenco\\Collect\\Support\\Enumerable' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/tightenco/collect/src/Collect/Support/Collection.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/guzzlehttp/psr7/src/AppendStream.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/guzzlehttp/psr7/src/Request.php:12
- > PHP Warning
Class 'Tightenco\\Collect\\Contracts\\Support\\Jsonable' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/tightenco/collect/src/Collect/Support/alias.php on line 19
- > PHP Warning
Class 'Tightenco\\Collect\\Support\\HigherOrderCollectionProxy' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/tightenco/collect/src/Collect/Support/alias.php on line 19
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/guzzlehttp/psr7/src/PumpStream.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UploadedFileInterface' not found in wp-content/plugins/wp-bullhorn-staffing/vendor/guzzlehttp/psr7/src/UploadedFile.php:9
- > PHP Warning
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 96% 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
1 plugin tags: bullhorn
wp-bullhorn-staffing/bootstrap.php 92% from 13 tests
The main file in "Bullhorn api client for wordpress" v. 0.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-bullhorn-staffing.php" instead of "bootstrap.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
Good job! No executable or dangerous file extensions detected28,216 lines of code in 284 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 238 | 4,492 | 10,309 | 22,720 |
Markdown | 22 | 1,329 | 0 | 3,902 |
JSON | 16 | 1 | 0 | 1,376 |
CSS | 1 | 0 | 0 | 130 |
XML | 3 | 0 | 0 | 56 |
Dockerfile | 1 | 8 | 0 | 10 |
JavaScript | 1 | 0 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 13.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 155.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 41 | |
Interfaces | 30 | |
Traits | 12 | |
Classes | 170 | |
▷ Abstract classes | 8 | 4.71% |
▷ Concrete classes | 162 | 95.29% |
▷ Final classes | 20 | 12.35% |
Methods | 1,623 | |
▷ Static methods | 313 | 19.29% |
▷ Public methods | 1,323 | 81.52% |
▷ Protected methods | 107 | 6.59% |
▷ Private methods | 193 | 11.89% |
Functions | 282 | |
▷ Named functions | 115 | 40.78% |
▷ Anonymous functions | 167 | 59.22% |
Constants | 145 | |
▷ Global constants | 45 | 31.03% |
▷ Class constants | 100 | 68.97% |
▷ Public constants | 99 | 99.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin