Benchmarks
Plugin footprint 65% 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.90MB] [CPU: ▼32.83ms] Passed 4 tests
This is a short check of server-side resources used by Simple Twitter Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.93 ▼2.20 |
Dashboard /wp-admin | 3.05 ▼0.26 | 21.90 ▼25.52 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 22.49 ▼26.57 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 27.83 ▼70.10 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 26.61 ▼9.11 |
Simple Twitter Slider /wp-admin/options-general.php?page=simple-twitter-slider/simple-twitter-slider.php | 3.05 | 26.70 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Twitter Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲102 | 13.69 ▼0.67 | 30.20 ▲28.57 | 45.48 ▲2.49 |
Dashboard /wp-admin | 2,201 ▲21 | 5.62 ▲0.04 | 85.89 ▼10.21 | 39.17 ▼0.92 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.01 ▲0.03 | 36.74 ▼5.14 | 35.33 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 23.75 ▲0.63 | 691.38 ▼12.00 | 53.95 ▼1.71 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.20 ▲0.01 | 104.20 ▲2.90 | 46.91 ▲6.89 |
Simple Twitter Slider /wp-admin/options-general.php?page=simple-twitter-slider/simple-twitter-slider.php | 917 | 2.04 | 25.25 | 34.02 |
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
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/simple-twitter-slider/simple-twitter-slider.php+299
Non-static method sm_tw_slider::sm_tw_sl__tools_option_page() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=simple-twitter-slider/simple-twitter-slider.php
- > Deprecated in wp-content/plugins/simple-twitter-slider/simple-twitter-slider.php+299
Non-static method sm_tw_slider::sm_tw_sl__tools_option_page() should not be called statically
- > GET request to /wp-admin/options-general.php?page=simple-twitter-slider/simple-twitter-slider.php
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method sm_tw_slider::sm_tw_sl_tools_option() should not be called statically
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-twitter-slider/simple-twitter-slider.php:296
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: social display, twitter slider, twitter widget, twitter feeds slider display, simple twitter slider...
simple-twitter-slider/simple-twitter-slider.php Passed 13 tests
The primary PHP file in "Simple Twitter Slider" version 1.0 is used by WordPress to initiate all plugin functionality
67 characters long description:
Simple Twitter Slider - Display your Twitter Feeds on your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin375 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 212 | 42 | 251 |
CSS | 1 | 1 | 0 | 120 |
HTML | 1 | 0 | 0 | 4 |
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.32 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/twitter_stws_icon.png | 0.54KB | 0.54KB | 0.18% |