Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.81ms] Passed 4 tests
A check of server-side resources used by Zij Indeed Jobs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.38 ▼3.67 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.77 ▼9.02 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.02 ▼1.20 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.20 ▼9.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.71 ▲2.34 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_zijindeedjobs |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Zij Indeed Jobs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.45 ▲0.18 | 1.58 ▼0.32 | 36.38 ▼8.06 |
Dashboard /wp-admin | 2,203 ▲12 | 5.84 ▲0.96 | 98.75 ▼5.39 | 37.31 ▼9.21 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.03 | 33.65 ▼3.68 | 33.49 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,533 ▲11 | 23.39 ▲0.15 | 653.94 ▲71.51 | 52.84 ▲1.89 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.20 ▼0.04 | 98.05 ▲0.79 | 41.24 ▼1.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_zijindeedjobs
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/zij-indeed-jobs/indeedlib.php
- > /wp-content/plugins/zij-indeed-jobs/1.1/indeedlib.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/zij-indeed-jobs/zij-indeed-jobs.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/zij-indeed-jobs/1.1/zij-indeed-jobs.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
3 plugin tags: indeed jobs, indeed, indeed job integration
zij-indeed-jobs/zij-indeed-jobs.php Passed 13 tests
This is the main PHP file of "Zij Indeed Jobs" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
84 characters long description:
Zijsoft provide the indeed jobs integeration into your wordpress installation easily
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
No dangerous file extensions were detected281 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 34 | 80 | 263 |
CSS | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 22.22% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.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
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/indeed.png | 36.65KB | 14.75KB | ▼ 59.75% |
1.1/includes/images/indeed.png | 36.65KB | 14.75KB | ▼ 59.75% |