Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Error in wp-content/plugins/job-listings-package/job-listings-package.php+61
Uncaught Error: Call to undefined function jlt_check_woocommerce_active() in wp-content/plugins/job-listings-package/job-listings-package.php:61
Stack trace:
#0 wp-includes/class-wp-hook.php(310): Job_Listings_Package::on_activation()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.52ms] Passed 4 tests
Analyzing server-side resources used by Job Listings - Package
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.87 ▼0.47 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.73 ▼5.34 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.35 ▲1.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.26 ▼9.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.24 ▲2.72 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Job Listings - Package: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.62 ▼1.01 | 2.18 ▲0.44 | 39.95 ▼4.25 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.05 | 102.75 ▼15.82 | 38.83 ▼7.24 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.98 ▼0.03 | 39.69 ▲5.72 | 34.21 ▼2.37 |
Add New Post /wp-admin/post-new.php | 1,528 ▲9 | 18.52 ▼4.71 | 658.04 ▼29.49 | 54.02 ▼1.45 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.20 ▲0.04 | 95.41 ▼6.03 | 43.39 ▼0.51 |
Uninstaller [IO: ▲0.11MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the followingZombie WordPress options detected upon uninstall: 6 options
- This plugin has failed uninstalling correctly, leaving 26 files (0.11MB) in the plugin directory
- (new file) classes/class-wc-product-employer-package.php
- (new file) assets/frontend/scss/package.scss
- (new file) classes/class-wc-product-resume-package.php
- (new file) classes/class-employer-package.php
- (new file) includes/candidate-viewable.php
- (new file) README.txt
- (new file) assets/frontend/css/package.css
- (new file) classes/class-candidate-package.php
- (new file) assets/admin/css/package-product.css
- (new file) classes/loader.php
- ...
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- 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
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-listings-package/classes/class-employer-package.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-listings-package/includes/job-viewable-candidate-package.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: job board, job listings, employment, job manager, job management
job-listings-package/job-listings-package.php Passed 13 tests
The main PHP file in "Job Listings - Package" ver. 0.1.1 adds more information about the plugin and also serves as the entry point for this plugin
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,298 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 475 | 186 | 2,147 |
Sass | 1 | 7 | 0 | 121 |
CSS | 2 | 2 | 0 | 30 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 33.80 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 13 | 15.85% |
▷ Public methods | 80 | 97.56% |
▷ Protected methods | 2 | 2.44% |
▷ Private methods | 0 | 0.00% |
Functions | 58 | |
▷ Named functions | 58 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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