Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼11.40ms] Passed 4 tests
Analyzing server-side resources used by Ray Social Feeds For Twitter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.56 ▼5.31 |
Dashboard /wp-admin | 3.40 ▲0.06 | 47.66 ▼30.84 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 47.82 ▼6.07 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 95.28 ▼3.16 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 35.43 ▼3.37 |
Ray Twitter Feeds /wp-admin/options-general.php?page=myctf-page | 3.29 | 32.25 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 14 new options
New WordPress options |
---|
rsfft_style_options |
rsfft_tweets_options |
rsfft_customize_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
rsfft_settings_options |
widget_recent-posts |
rsfft_support_options |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ray Social Feeds For Twitter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲180 | 13.80 ▼0.43 | 13.65 ▲11.78 | 40.08 ▼3.63 |
Dashboard /wp-admin | 2,212 ▲27 | 4.92 ▼0.94 | 111.35 ▲0.17 | 39.98 ▼1.05 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.02 ▲0.04 | 42.51 ▲1.69 | 34.54 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.36 ▲5.14 | 618.37 ▼10.33 | 52.24 ▼2.48 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.24 ▲0.03 | 100.15 ▲1.80 | 44.03 ▼0.05 |
Ray Twitter Feeds /wp-admin/options-general.php?page=myctf-page | 928 | 2.01 | 33.05 | 32.84 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_rsfft_tweets_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=myctf-page
- > Deprecation (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
Optimizations
Plugin configuration 86% from 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
6 plugin tags: twitter feed, twitter widget, ray social feeds for twitter, twitter feeds, twitter gallery...
ray-social-feeds-for-twitter/my-custom-twitter-feed.php 69% from 13 tests
The principal PHP file in "Ray Social Feeds For Twitter" v. 1.2.4 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("Languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ray-social-feeds-for-twitter.php" instead of "my-custom-twitter-feed.php")
- Domain Path: The domain path must begin with a forward slash character ("/Languages")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected5,241 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 2,196 | 2,467 | 4,384 |
CSS | 3 | 167 | 65 | 754 |
JavaScript | 5 | 70 | 116 | 103 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 48.10 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 173.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 190 | |
▷ Static methods | 155 | 81.58% |
▷ Public methods | 179 | 94.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 5.79% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
There were not PNG files found in your plugin