Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.46ms] Passed 4 tests
An overview of server-side resources used by News Headline Ticker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 49.52 ▲8.43 |
Dashboard /wp-admin | 3.35 ▲0.05 | 52.09 ▼4.14 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.05 ▼3.57 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 114.70 ▲2.32 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 41.54 ▼0.45 |
Ticker Settings /wp-admin/options-general.php?page=wp-news-headline-ticker | 3.25 | 37.45 |
Server storage [IO: ▲0.15MB] [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: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for News Headline Ticker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲165 | 13.96 ▼0.38 | 11.79 ▲9.94 | 41.73 ▲1.12 |
Dashboard /wp-admin | 2,221 ▲47 | 5.91 ▲0.34 | 89.23 ▼5.95 | 39.81 ▼7.66 |
Posts /wp-admin/edit.php | 2,128 ▲25 | 2.22 ▲0.21 | 41.20 ▼2.04 | 36.15 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.24 ▲0.00 | 648.50 ▼39.84 | 38.29 ▼15.74 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.39 ▲0.18 | 99.88 ▼9.98 | 41.68 ▼8.32 |
Ticker Settings /wp-admin/options-general.php?page=wp-news-headline-ticker | 1,307 | 2.36 | 56.28 | 30.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-news-headline-ticker/wp-news-headline-ticker.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-news-headline-ticker/lib/tkr-style.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-news-headline-ticker/lib/functions.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Ticker Settings), #2 (Back End), #3 (Front End)
wp-news-headline-ticker/wp-news-headline-ticker.php 85% from 13 tests
The entry point to "News Headline Ticker" version 1.0.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 198 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected354 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 19 | 40 | 291 |
CSS | 2 | 0 | 0 | 55 |
JavaScript | 2 | 5 | 11 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/review.png | 0.64KB | 0.64KB | 0.00% |
screenshot-1.png | 51.79KB | 28.55KB | ▼ 44.86% |
screenshot-2.png | 52.20KB | 30.26KB | ▼ 42.04% |
screenshot-3.png | 18.11KB | 11.88KB | ▼ 34.37% |