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.02MB] [CPU: ▼5.38ms] Passed 4 tests
A check of server-side resources used by Get My Tweets UK
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.98 ▼0.57 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.53 ▲1.96 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.77 ▼4.19 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.57 ▼17.85 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.88 ▲1.08 |
Get My Tweets /wp-admin/options-general.php?page=get-my-tweets-admin | 3.19 | 28.20 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Get My Tweets UK
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲137 | 14.39 ▲0.02 | 2.32 ▲0.67 | 38.62 ▼3.64 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.05 | 113.44 ▼5.93 | 42.87 ▼5.31 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.06 | 35.02 ▼3.90 | 31.58 ▼3.15 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.11 ▲4.92 | 653.52 ▼39.23 | 54.91 ▼2.05 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▲0.03 | 96.31 ▼2.38 | 45.56 ▲0.72 |
Get My Tweets /wp-admin/options-general.php?page=get-my-tweets-admin | 878 | 2.03 | 23.19 | 25.29 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=get-my-tweets-admin
- > Notice in wp-content/plugins/get-my-tweets-uk/get-my-tweets-uk.php+55
Undefined index: gmt_hidden
- > GET request to /wp-admin/options-general.php?page=get-my-tweets-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=get-my-tweets-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/get-my-tweets-uk/get-my-tweets-uk.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: get my tweets, twitter, buckets, widget, tweets
get-my-tweets-uk/get-my-tweets-uk.php Passed 13 tests
"Get My Tweets UK" version 0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
41 characters long description:
Easily add recent tweets to your website.
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
There were no executable files found in this plugin103 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 9 | 84 |
JavaScript | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin