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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.01ms] Passed 4 tests
A check of server-side resources used by Headline Analyzer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 39.12 ▼6.49 |
Dashboard /wp-admin | 3.43 ▲0.08 | 49.45 ▼11.97 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 55.52 ▲7.03 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.11 | 90.77 ▼0.24 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 38.51 ▲2.66 |
Headline Studio /wp-admin/options-general.php?page=headline-studio-settings | 3.32 | 34.86 |
Server storage [IO: ▲1.81MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Headline Analyzer: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲58 | 14.31 ▲0.07 | 1.64 ▼0.21 | 37.23 ▼5.97 |
Dashboard /wp-admin | 2,210 ▲33 | 5.57 ▲0.03 | 93.59 ▼6.92 | 41.03 ▲1.25 |
Posts /wp-admin/edit.php | 2,331 ▲228 | 12.75 ▲10.81 | 263.75 ▲219.90 | 33.68 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,714 ▲179 | 22.73 ▲0.10 | 665.72 ▼16.66 | 29.68 ▼26.99 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.26 ▼0.01 | 91.73 ▼28.70 | 45.31 ▼3.73 |
Headline Studio /wp-admin/options-general.php?page=headline-studio-settings | 948 | 2.00 | 24.77 | 44.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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 everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/headline-analyzer/includes/auth/success.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in headline-analyzer/assets to your readme.txt
headline-analyzer/headline-analyzer.php 92% from 13 tests
"Headline Analyzer" version 1.3.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.6" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,884 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 174 | 315 | 1,033 |
CSS | 3 | 70 | 0 | 941 |
JavaScript | 20 | 148 | 65 | 852 |
SVG | 2 | 0 | 2 | 58 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 56 | |
▷ Named functions | 51 | 91.07% |
▷ Anonymous functions | 5 | 8.93% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.55MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/GettingStarted.png | 86.36KB | 32.53KB | ▼ 62.33% |
assets/img/Team.png | 187.00KB | 62.94KB | ▼ 66.34% |
assets/img/ClassicEditor.png | 55.15KB | 27.02KB | ▼ 51.00% |
assets/img/PostsPage.png | 135.38KB | 59.65KB | ▼ 55.94% |
assets/img/Gutenberg.png | 95.13KB | 35.60KB | ▼ 62.57% |