Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/kiss-twitter-wrapper/kiss-twitter-wrapper.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; KISS_Twitter_Wrapper has a deprecated constructor
Server metrics [RAM: ▼1.94MB] [CPU: ▼66.25ms] Passed 4 tests
This is a short check of server-side resources used by KISS Twitter Wrapper
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.41 | 5.42 ▼41.66 |
Dashboard /wp-admin | 2.08 ▼1.27 | 6.53 ▼69.64 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 7.19 ▼51.81 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.96 ▼101.90 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.23 ▼31.91 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_kiss_twitter_wrapper |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
KISS Twitter Wrapper: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.32 ▼1.12 | 1.71 ▼0.26 | 44.28 ▼2.68 |
Dashboard /wp-admin | 2,206 ▲21 | 5.80 ▲0.91 | 106.10 ▼31.81 | 41.74 ▼10.73 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.02 | 41.69 ▼3.00 | 33.82 ▼5.38 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.67 ▼5.47 | 670.49 ▼17.25 | 53.30 ▲7.81 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.01 | 109.87 ▼12.13 | 48.68 ▲2.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/kiss-twitter-wrapper/kiss-twitter-wrapper.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; KISS_Twitter_Wrapper has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_kiss_twitter_wrapper
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kiss-twitter-wrapper/kiss-twitter-wrapper.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Stable tag: No value
- Plugin Name: Please specify the plugin name on the first line (
=== kiss-twitter-wrapper ===
) - Screenshots: Add images for these screenshots: #1 (It only takes one line to start using the widget - just copy and paste the generate code from the Twitter widget configurator page and paste it in to the code field.), #2 (The Twitter Widgets Configurator page shows how easy it is to set up your timeline feed.)
kiss-twitter-wrapper/kiss-twitter-wrapper.php 92% from 13 tests
This is the main PHP file of "KISS Twitter Wrapper" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected33 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 22 | 33 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 38.19KB | 11.80KB | ▼ 69.09% |
screenshot-2.png | 134.19KB | 47.19KB | ▼ 64.83% |