Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.65ms] Passed 4 tests
This is a short check of server-side resources used by Jobs Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.09 ▼9.54 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.85 ▼16.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.48 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.55 ▼8.43 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 38.14 ▲1.52 |
Jobs Widget /wp-admin/options-general.php?page=jobs-widget/options.php | 3.04 | 23.75 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Jobs Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 13.61 ▼0.77 | 1.88 ▲0.12 | 40.68 ▼3.55 |
Dashboard /wp-admin | 2,225 ▲19 | 5.81 ▲0.71 | 100.06 ▼3.96 | 36.92 ▼4.82 |
Posts /wp-admin/edit.php | 2,104 ▲22 | 2.00 ▲0.00 | 37.76 ▼2.17 | 31.26 ▼10.18 |
Add New Post /wp-admin/post-new.php | 1,548 ▲165 | 23.40 ▲6.79 | 602.66 ▲29.66 | 40.68 ▼26.96 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.26 ▲0.07 | 103.11 ▼10.10 | 46.09 ▼0.85 |
Jobs Widget /wp-admin/options-general.php?page=jobs-widget/options.php | 28 | 0.44 | 0.19 | 4.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=jobs-widget/options.php
- > Network (severe)
wp-admin/options-general.php?page=jobs-widget/options.php - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 your attention:
- Screenshots: A description for screenshot #4 is required in jobswidget/assets to your readme.txt
- Donate link: Invalid url: "jobswidget.me"
jobswidget/plugin.php 92% from 13 tests
The main PHP script in "Jobs Widget" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jobswidget.php" instead of "plugin.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 detected92 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 17 | 34 | 92 |
JavaScript | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/screenshot-2.png | 54.42KB | 21.26KB | ▼ 60.94% |
includes/images/screenshot-3.png | 34.26KB | 13.78KB | ▼ 59.77% |