Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼4.52ms] Passed 4 tests
An overview of server-side resources used by WP Twitter Wall
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 37.77 ▼1.42 |
Dashboard /wp-admin | 3.46 ▲0.16 | 44.28 ▲0.80 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 48.90 ▲3.26 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.71 ▼17.29 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.43 ▼0.18 |
Add Spam /wp-admin/post-new.php?post_type=twitterwall-spam | 3.42 | 41.50 |
All Spams /wp-admin/edit.php?post_type=twitterwall-spam | 3.42 | 36.26 |
Settings /wp-admin/edit.php?post_type=twitterwall-spam&page=twitterwall | 3.32 | 30.28 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Twitter Wall
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲66 | 13.53 ▼0.90 | 1.69 ▼0.06 | 42.46 ▲1.65 |
Dashboard /wp-admin | 2,244 ▲52 | 4.88 ▼0.16 | 100.18 ▼11.38 | 37.44 ▼0.61 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.05 ▲0.04 | 41.81 ▲5.58 | 37.13 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 17.34 ▼0.38 | 670.37 ▼1.52 | 52.91 ▼11.81 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.20 ▲0.08 | 95.12 ▼15.49 | 42.47 ▼8.48 |
Add Spam /wp-admin/post-new.php?post_type=twitterwall-spam | 1,422 | 2.50 | 47.95 | 67.27 |
All Spams /wp-admin/edit.php?post_type=twitterwall-spam | 1,088 | 1.98 | 30.31 | 27.62 |
Settings /wp-admin/edit.php?post_type=twitterwall-spam&page=twitterwall | 1,135 | 2.23 | 46.95 | 27.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=twitterwall-spam&page=twitterwall
- > Notice in wp-content/plugins/wp-twitter-wall/wp-twitter-wall.php+501
Undefined variable: default
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-twitter-wall/wp-twitter-wall.php
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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: hastag, twitterwall, wall, tweet, conference...
wp-twitter-wall/wp-twitter-wall.php Passed 13 tests
This is the main PHP file of "WP Twitter Wall" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
72 characters long description:
Display a live Twitter wall at your event, using your WordPress 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
Everything looks great! No dangerous files found in this plugin1,152 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 162 | 132 | 752 |
PO File | 1 | 66 | 77 | 157 |
CSS | 1 | 22 | 1 | 129 |
JavaScript | 4 | 7 | 15 | 114 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 50.00% |
▷ Protected methods | 4 | 50.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/retweet.png | 0.81KB | 0.77KB | ▼ 4.83% |
img/reply.png | 0.75KB | 0.90KB | 0.00% |