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.10MB] [CPU: ▼10.41ms] Passed 4 tests
Server-side resources used by Twitter List Sync
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 36.91 ▼25.20 |
Dashboard /wp-admin | 3.42 ▲0.08 | 48.06 ▼15.23 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 55.56 ▲11.49 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 99.31 ▼1.88 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.86 ▲0.66 |
Twitter List Sync /wp-admin/options-general.php?page=twitter-list-sync-setting-admin | 3.31 | 32.44 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
twitter_list_sync_option_name |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Twitter List Sync
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.28 ▲0.10 | 1.53 ▼0.89 | 44.69 ▼16.35 |
Dashboard /wp-admin | 2,202 ▲25 | 5.59 ▼0.07 | 96.38 ▲1.29 | 42.86 ▼2.78 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.08 ▲0.06 | 40.81 ▲4.12 | 35.00 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.52 ▲0.49 | 657.72 ▼1.82 | 52.16 ▼6.84 |
Media Library /wp-admin/upload.php | 1,395 ▼8 | 4.23 ▲0.11 | 100.62 ▼2.06 | 42.58 ▼2.32 |
Twitter List Sync /wp-admin/options-general.php?page=twitter-list-sync-setting-admin | 841 | 1.99 | 22.10 | 27.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- twitter_list_sync_option_name
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/twitter-list-sync/twitter-list-sync.php
- > /wp-content/plugins/twitter-list-sync/vendor/j7mbo/twitter-api-php/index.php
- 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/twitter-list-sync/options.php:218
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== twitter-list-sync ===
)
twitter-list-sync/twitter-list-sync.php Passed 13 tests
The main PHP file in "Twitter List Sync" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
57 characters long description:
Keep a Twitter list up to date with users from your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin883 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 173 | 288 | 737 |
Markdown | 2 | 31 | 0 | 81 |
JSON | 3 | 0 | 0 | 65 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 20.25 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 39 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 7.14% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected