Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.39ms] Passed 4 tests
This is a short check of server-side resources used by Curator Studio - Twitter - Show tweets, mentions and more
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.61 ▲3.74 |
Dashboard /wp-admin | 3.44 ▲0.13 | 42.70 ▼15.68 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 57.78 ▲2.12 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 164.16 ▲54.15 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 41.31 ▼3.74 |
Curator Studio /wp-admin/admin.php?page=curator-studio | 3.23 | 29.98 |
Twitter /wp-admin/admin.php?page=curator-studio-twitter | 3.33 | 30.12 |
Server storage [IO: ▲1.76MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 151 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_cstudio_items |
wp_cstudio_sources |
wp_cstudio_apps |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Curator Studio - Twitter - Show tweets, mentions and more: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 13.29 ▼1.14 | 4.54 ▲1.73 | 46.19 ▼1.12 |
Dashboard /wp-admin | 2,233 ▲45 | 5.85 ▼0.02 | 104.24 ▼30.65 | 43.33 ▼11.75 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.03 ▲0.03 | 72.76 ▲19.56 | 76.70 ▲31.88 |
Add New Post /wp-admin/post-new.php | 1,443 ▲46 | 17.67 ▼0.03 | 849.10 ▲74.41 | 75.15 ▲15.88 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.26 ▼0.02 | 122.58 ▼8.76 | 50.51 ▼8.57 |
Curator Studio /wp-admin/admin.php?page=curator-studio | 1,019 | 5.53 | 136.61 | 72.45 |
Twitter /wp-admin/admin.php?page=curator-studio-twitter | 1,013 | 5.57 | 145.04 | 72.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_cstudio_apps
- wp_cstudio_items
- wp_cstudio_sources
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 items
- 16× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/curator-studio-twitter/utils/URL/Twitter.php
- > /wp-content/plugins/curator-studio-twitter/core/Infra.php
- > /wp-content/plugins/curator-studio-twitter/utils/URL/YouTube.php
- > /wp-content/plugins/curator-studio-twitter/utils/URL/Vimeo.php
- > /wp-content/plugins/curator-studio-twitter/core/CuratorList.php
- > /wp-content/plugins/curator-studio-twitter/db/SafeMySQL.php
- > /wp-content/plugins/curator-studio-twitter/db/DB.php
- > /wp-content/plugins/curator-studio-twitter/core/Store.php
- > /wp-content/plugins/curator-studio-twitter/start.php
- > /wp-content/plugins/curator-studio-twitter/platform/Twitter.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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in curator-studio-twitter/assets to your readme.txt
curator-studio-twitter/start.php 92% from 13 tests
Analyzing the main PHP file in "Curator Studio - Twitter - Show tweets, mentions and more" version 0.1.1
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("curator-studio-twitter.php" instead of "start.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected14,372 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 85 | 1,260 | 442 | 8,023 |
PHP | 20 | 669 | 425 | 3,350 |
Vuejs Component | 43 | 420 | 9 | 2,999 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 23.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 253 | |
▷ Static methods | 75 | 29.64% |
▷ Public methods | 232 | 91.70% |
▷ Protected methods | 10 | 3.95% |
▷ Private methods | 11 | 4.35% |
Functions | 50 | |
▷ Named functions | 8 | 16.00% |
▷ Anonymous functions | 42 | 84.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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
There were not PNG files found in your plugin