Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/news-tick-o-matic/news-tick-o-matic.php+57
Methods with the same name as their class will not be constructors in a future version of PHP; NewsTickOMatic has a deprecated constructor
Server metrics [RAM: ▼1.85MB] [CPU: ▼55.44ms] Passed 4 tests
An overview of server-side resources used by News Tick-O-Matic
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.44 ▼40.37 |
Dashboard /wp-admin | 2.16 ▼1.15 | 5.75 ▼44.40 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.08 ▼46.81 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 5.07 ▼90.18 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 6.02 ▼30.82 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_newstickomatic |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for News Tick-O-Matic
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 13.44 ▼1.18 | 8.92 ▲6.50 | 43.29 ▼6.64 |
Dashboard /wp-admin | 2,198 ▲21 | 5.69 ▲0.10 | 87.67 ▲0.37 | 40.91 ▼2.52 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.01 ▲0.00 | 33.93 ▼12.17 | 38.60 ▼4.37 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.56 ▼0.01 | 683.70 ▲4.54 | 52.68 ▼13.52 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.16 ▼0.01 | 98.23 ▼7.20 | 43.89 ▼0.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/news-tick-o-matic/news-tick-o-matic.php+57
Methods with the same name as their class will not be constructors in a future version of PHP; NewsTickOMatic has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_newstickomatic
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× 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/news-tick-o-matic/news-tick-o-matic.php:43
- > PHP Fatal error
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 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (News Tick-O-Matic, frozen in news ticking action.) image not found
- Tags: There are too many tags (12 tag instead of maximum 10)
news-tick-o-matic/news-tick-o-matic.php Passed 13 tests
The main PHP file in "News Tick-O-Matic" ver. 0.2 adds more information about the plugin and also serves as the entry point for this plugin
80 characters long description:
Animated news ticker—display the newest news a smoothly scrolling sidebar.
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
Good job! No executable or dangerous file extensions detected223 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 32 | 179 |
CSS | 1 | 1 | 2 | 43 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 6.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 40.11KB | 11.55KB | ▼ 71.20% |
screenshot-1.png | 37.73KB | 10.00KB | ▼ 73.49% |