Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.62ms] Passed 4 tests
Server-side resources used by Job Listings - Job Alerts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.42 ▼11.58 |
Dashboard /wp-admin | 3.36 ▲0.05 | 52.88 ▼1.72 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 57.36 ▼0.34 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.34 ▼24.85 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.11 ▲2.92 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Job Listings - Job Alerts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.19 ▼0.16 | 1.75 ▼0.19 | 46.30 ▲1.18 |
Dashboard /wp-admin | 2,189 ▲12 | 5.50 ▼0.04 | 83.59 ▼17.22 | 37.89 ▲1.59 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▼0.03 | 39.37 ▼2.19 | 35.97 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 17.95 ▼5.57 | 618.05 ▼6.21 | 68.29 ▲7.25 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.24 ▲0.01 | 100.04 ▼6.64 | 43.68 ▲0.61 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-listings-job-alert/includes/class-job-alert-hander.php:5
- > PHP Fatal error
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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: employment, job board, job listings, job management, job manager
job-listings-job-alert/job-listings-job-alert.php Passed 13 tests
This is the main PHP file of "Job Listings - Job Alerts" version 0.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected764 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 164 | 75 | 764 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 7 | 38.89% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.11% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin