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.05MB] [CPU: ▼10.30ms] Passed 4 tests
A check of server-side resources used by Disco Free by Headliner
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.13 ▼2.19 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.61 ▼1.98 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 42.62 ▼6.97 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 78.85 ▼30.05 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 33.76 ▼0.43 |
Headliner Disco Free /wp-admin/options-general.php?page=headliner | 3.25 | 31.98 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Disco Free by Headliner: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.44 ▲0.10 | 1.88 ▲0.16 | 45.00 ▼0.15 |
Dashboard /wp-admin | 2,201 ▲40 | 5.53 ▼0.08 | 86.23 ▼10.38 | 42.75 ▼0.50 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.98 ▼0.02 | 36.83 ▼10.30 | 32.78 ▼6.33 |
Add New Post /wp-admin/post-new.php | 1,369 ▼159 | 17.07 ▼5.89 | 571.45 ▼72.08 | 62.10 ▲3.76 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.19 ▼0.05 | 96.75 ▼17.15 | 43.85 ▼4.94 |
Headliner Disco Free /wp-admin/options-general.php?page=headliner | 885 | 2.03 | 23.80 | 29.74 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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 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_filter() in wp-content/plugins/headliner-disco-free/headliner.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: rss, video, podcast, audio
headliner-disco-free/headliner.php 85% from 13 tests
Analyzing the main PHP file in "Disco Free by Headliner" version 1.3.0
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("headliner-disco-free.php" instead of "headliner.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin242 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 65 | 211 |
JavaScript | 1 | 7 | 21 | 31 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin