Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.95ms] Passed 4 tests
An overview of server-side resources used by Ticker Pro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.45 ▼12.64 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.37 ▲0.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.13 ▲2.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.23 ▼0.68 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.53 ▲1.27 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_ticker_pro_6489 |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
ticker_pro_options |
ticker_pro_6489_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by Ticker Pro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲161 | 13.99 ▼0.32 | 4.97 ▲2.49 | 36.59 ▼6.38 |
Dashboard /wp-admin | 2,224 ▲39 | 4.84 ▼1.02 | 112.32 ▲13.47 | 40.81 ▼5.35 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.03 ▼0.02 | 39.57 ▼2.89 | 33.66 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 18.46 ▼4.65 | 620.40 ▲21.97 | 50.76 ▲6.04 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.24 ▼0.01 | 99.82 ▲2.52 | 39.86 ▼1.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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- ticker_pro_options
- widget_theysaidso_widget
- ticker_pro_6489_db_version
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ticker-pro/ticker-pro.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ticker-pro/plugin_script.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ticker-pro/includes/form-handler.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ticker-pro/includes/plugin_shortcode.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ticker-pro/includes/plugin-options.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in ticker-pro/assets to your readme.txt
- Contributors: Plugin contributors not specified
ticker-pro/ticker-pro.php Passed 13 tests
This is the main PHP file of "Ticker Pro" version 3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
117 characters long description:
Ticker Pro probably the simplest and lightweight ticker in the world. Which display your ticker ony any page or post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected598 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 103 | 55 | 366 |
JavaScript | 3 | 43 | 67 | 204 |
CSS | 3 | 7 | 22 | 28 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 15 | |
▷ Named functions | 12 | 80.00% |
▷ Anonymous functions | 3 | 20.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
color-picker/img/saturation.png | 4.05KB | 5.13KB | 0.00% |
color-picker/img/hue-horizontal.png | 0.47KB | 0.47KB | 0.00% |
color-picker/img/alpha-horizontal.png | 0.54KB | 1.62KB | 0.00% |
color-picker/img/alpha.png | 0.48KB | 1.68KB | 0.00% |
color-picker/img/hue.png | 0.49KB | 0.50KB | 0.00% |