Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.78ms] Passed 4 tests
An overview of server-side resources used by Fetch Tweets - Rotator Template
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.74 ▼6.97 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.70 ▼7.24 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.53 ▼2.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.31 ▼6.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.19 ▲2.25 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Fetch Tweets - Rotator Template
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.45 | 1.64 ▼0.15 | 46.21 ▲1.48 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▲0.96 | 96.29 ▼19.41 | 41.28 ▼5.14 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.03 | 38.66 ▲1.25 | 35.11 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 18.31 ▲0.83 | 642.94 ▲38.36 | 53.91 ▼3.06 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▼0.02 | 110.72 ▲17.41 | 50.24 ▲8.57 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'FetchTweets_Template_Rotator_Base' not found in wp-content/plugins/fetch-tweets-rotator-template/rotator/class/FetchTweets_Template_Rotator.php:7
- > PHP Fatal error
Uncaught Error: Class 'FetchTweets_Template_Settings' not found in wp-content/plugins/fetch-tweets-rotator-template/rotator/class/FetchTweets_Template_Settings_Rotator.php:12
- > PHP Fatal error
Uncaught Error: Class 'FetchTweets_Template_Rotator' not found in wp-content/plugins/fetch-tweets-rotator-template/rotator/template.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: twitter, tweets, slider, sidebar, rotator...
fetch-tweets-rotator-template/fetch-tweets-rotator-template.php Passed 13 tests
The entry point to "Fetch Tweets - Rotator Template" version 1.1.1 is a PHP file that has certain tags in its header comment area
42 characters long description:
Rotates tweets of the Fetch Tweets plugin.
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,661 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 95 | 571 | 1,022 |
PHP | 8 | 180 | 285 | 826 |
Markdown | 2 | 116 | 0 | 525 |
CSS | 3 | 55 | 53 | 263 |
JSON | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 36 | |
▷ Static methods | 5 | 13.89% |
▷ Public methods | 15 | 41.67% |
▷ Protected methods | 5 | 13.89% |
▷ Private methods | 16 | 44.44% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 1 | 6.67% |
▷ Class constants | 14 | 93.33% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
rotator/asset/bxslider/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |