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.08MB] [CPU: ▼5.76ms] Passed 4 tests
An overview of server-side resources used by Awesome Latest Tweets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.92 ▼2.53 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.04 ▼1.87 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 48.13 ▲1.98 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.44 ▼20.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.16 ▲2.08 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_awesome-latest-tweets |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Awesome Latest Tweets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.35 | 1.79 ▲0.07 | 39.80 ▲0.31 |
Dashboard /wp-admin | 2,209 ▲23 | 4.84 ▼0.04 | 101.75 ▼23.10 | 38.84 ▼6.12 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.04 | 33.67 ▼6.73 | 34.44 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.43 ▲5.22 | 654.58 ▲19.98 | 57.06 ▲6.54 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▲0.02 | 94.29 ▼0.21 | 42.09 ▼5.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_awesome-latest-tweets
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== awesome-latest-tweets ===
)
awesome-latest-tweets/init.php 92% from 13 tests
This is the main PHP file of "Awesome Latest Tweets" version 1.0.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:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("awesome-latest-tweets.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin413 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 115 | 203 | 413 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 19 | 70.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 29.63% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
No PNG images were found in this plugin