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.00MB] [CPU: ▼6.91ms] Passed 4 tests
A check of server-side resources used by Scheduled Jobs Dashboad Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.34 ▼7.11 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.68 ▲2.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.14 ▼3.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.74 ▼16.98 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.17 ▲0.10 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Scheduled Jobs Dashboad Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,007 ▲246 | 14.81 ▲0.44 | 1.68 ▲0.08 | 34.57 ▼22.48 |
Dashboard /wp-admin | 2,413 ▲207 | 5.85 ▲0.99 | 100.93 ▼3.65 | 46.24 ▲1.73 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.15 | 36.36 ▼4.56 | 36.60 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.30 ▼0.07 | 661.12 ▲7.38 | 53.16 ▼4.01 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.25 ▲0.07 | 94.84 ▼5.37 | 44.92 ▲0.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
Almost there! Just fix the following items
- 1× 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/scheduled-jobs-dashboard-widget/class-scheduled-jobs-dashboard-widget.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Dashboard Widget), #2 (Entry in the "At A Glance" Widget)
scheduled-jobs-dashboard-widget/scheduled-jobs-dashboard-widget.php 85% from 13 tests
The main PHP file in "Scheduled Jobs Dashboad Widget" ver. 0.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin164 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 26 | 60 | 92 |
PHP | 2 | 21 | 46 | 71 |
CSS | 1 | 3 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 4 | 80.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.11MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 19.10KB | 5.58KB | ▼ 70.77% |
screenshot-1.png | 97.35KB | 11.28KB | ▼ 88.41% |