Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼1.54ms] Passed 4 tests
Server-side resources used by Job-a-matic
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 49.94 ▲11.35 |
Dashboard /wp-admin | 3.54 ▲0.24 | 52.48 ▲0.49 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 52.47 ▲2.07 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 85.50 ▼17.34 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 43.61 ▲8.61 |
Jobamatic /wp-admin/options-general.php?page=jobamatic | 3.36 | 31.39 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Jobamatic_Options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Job-a-matic
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.28 | 1.67 ▼0.09 | 43.44 ▼4.20 |
Dashboard /wp-admin | 2,193 ▲22 | 5.52 ▼0.06 | 90.04 ▼1.80 | 42.88 ▼0.66 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.12 ▲0.14 | 35.62 ▼5.14 | 33.88 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.15 ▲0.10 | 674.89 ▲57.37 | 54.23 ▲0.45 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▲0.05 | 104.90 ▼2.62 | 47.42 ▲3.95 |
Jobamatic /wp-admin/options-general.php?page=jobamatic | 1,036 | 2.01 | 23.30 | 55.43 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- Jobamatic_Options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=jobamatic
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=jobamatic
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/sh-jobamatic/templates/job-results.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/sh-jobamatic/jobamatic.php:40
- > PHP Notice
Undefined variable: data in wp-content/plugins/sh-jobamatic/templates/job-results.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/sh-jobamatic/includes/jobamatic-options.php:2
- > PHP Notice
Undefined variable: pager in wp-content/plugins/sh-jobamatic/templates/job-results.php on line 25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: "TBD"
sh-jobamatic/jobamatic.php 92% from 13 tests
The main PHP script in "Job-a-matic" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sh-jobamatic.php" instead of "jobamatic.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,193 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 181 | 90 | 1,045 |
JavaScript | 1 | 11 | 5 | 63 |
Sass | 1 | 14 | 0 | 49 |
CSS | 1 | 4 | 0 | 36 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 23.83 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 1 | 1.27% |
▷ Public methods | 57 | 72.15% |
▷ Protected methods | 21 | 26.58% |
▷ Private methods | 1 | 1.27% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 9 | 90.00% |
▷ Class constants | 1 | 10.00% |
▷ Public constants | 1 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/Logo_SHpartner.png | 1.93KB | 1.19KB | ▼ 38.30% |