Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.27ms] Passed 4 tests
This is a short check of server-side resources used by Jock on air now
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.92 ▼1.19 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.42 ▼5.34 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.62 ▲4.91 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.87 ▼8.40 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 30.72 ▼2.15 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_WPJoan |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
joan_css |
off_air_message |
theysaidso_admin_options |
joan_shutitdown |
widget_recent-comments |
joan_db_version |
widget_joan |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jock on air now
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲178 | 13.41 ▼1.30 | 10.56 ▲8.87 | 37.21 ▼6.78 |
Dashboard /wp-admin | 2,214 ▲36 | 5.62 ▼0.00 | 92.94 ▼8.45 | 41.14 ▼0.75 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▼0.02 | 37.99 ▼0.97 | 36.83 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 23.82 ▲5.46 | 676.47 ▲21.02 | 55.26 ▼7.19 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.15 ▼0.02 | 93.22 ▼8.16 | 41.18 ▼1.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 12 options
- joan_use_images
- joan_upcoming
- joan_shutitdown
- widget_joan
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- off_air_message
- joan_css
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/joan/joan.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: crud-action in wp-content/plugins/joan/crud.php on line 7
- > PHP Notice
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: radio jock, webcast, programming, manager, dj...
joan/joan.php 92% from 13 tests
Analyzing the main PHP file in "Jock on air now" version 5.7.2
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 337 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,184 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 218 | 144 | 812 |
JavaScript | 2 | 148 | 36 | 259 |
CSS | 1 | 28 | 0 | 113 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 2 | 20.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin