Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.30ms] Passed 4 tests
Server-side resources used by T4B News Ticker - Responsive News Scroller, Slider, and Animations
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.79 ▼14.28 |
Dashboard /wp-admin | 3.45 ▲0.15 | 53.08 ▲4.83 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 54.26 ▲9.41 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.53 ▼1.14 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 42.86 ▲11.06 |
Ticker Settings /wp-admin/options-general.php?page=t4bnt-settings | 3.33 | 43.27 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
t4bnt_general |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
t4bnt_activation_time |
Browser metrics Passed 4 tests
Checking browser requirements for T4B News Ticker - Responsive News Scroller, Slider, and Animations
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲165 | 14.70 ▲0.37 | 1.53 ▼1.07 | 38.92 ▼13.12 |
Dashboard /wp-admin | 2,357 ▲180 | 6.36 ▲0.71 | 125.62 ▲30.16 | 41.91 ▲1.78 |
Posts /wp-admin/edit.php | 2,291 ▲194 | 3.52 ▲1.53 | 58.88 ▲22.92 | 31.95 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,703 ▲177 | 22.53 ▼0.30 | 647.61 ▼18.45 | 32.34 ▼22.12 |
Media Library /wp-admin/upload.php | 1,425 ▲31 | 4.39 ▲0.11 | 80.24 ▼20.80 | 43.60 ▲1.48 |
Ticker Settings /wp-admin/options-general.php?page=t4bnt-settings | 1,894 | 6.46 | 141.29 | 137.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- theysaidso_admin_options
- t4bnt_activation_time
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- t4bnt_general
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (T4B News Ticker Demo.), #2 (T4B News Ticker Settings using post category.), #3 (T4B News Ticker Settings using post tags.), #4 (T4B News Ticker Settings using custom texts.)
t4b-news-ticker/news-ticker.php 92% from 13 tests
"T4B News Ticker - Responsive News Scroller, Slider, and Animations" version 1.2.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("t4b-news-ticker.php" instead of "news-ticker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,201 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 34 | 256 | 904 |
JavaScript | 3 | 55 | 87 | 527 |
PO File | 2 | 174 | 176 | 440 |
CSS | 3 | 4 | 26 | 330 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 compressed PNG files occupy 0.08MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/template-pro.png | 36.69KB | 39.50KB | 0.00% |
screenshot-2.png | 18.46KB | 18.46KB | 0.00% |
screenshot-4.png | 12.30KB | 12.31KB | 0.00% |
screenshot-3.png | 10.74KB | 10.74KB | 0.00% |
assets/images/expand.png | 0.39KB | 0.41KB | 0.00% |