Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.32ms] Passed 4 tests
A check of server-side resources used by Fetch Tweets - Hashtag Cloud
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.91 ▼0.48 |
Dashboard /wp-admin | 3.31 ▼0.04 | 42.86 ▼15.89 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.10 ▼0.65 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.20 ▼12.58 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.39 ▼4.17 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Fetch Tweets - Hashtag Cloud
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.10 ▼0.26 | 1.75 ▲0.08 | 45.70 ▲5.93 |
Dashboard /wp-admin | 2,195 ▲14 | 5.55 ▼0.15 | 83.39 ▼13.20 | 37.96 ▼6.93 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.00 | 33.55 ▼1.64 | 34.93 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.05 ▲5.01 | 657.78 ▲31.22 | 60.01 ▼11.37 |
Media Library /wp-admin/upload.php | 1,391 ▼6 | 4.21 ▲0.06 | 98.30 ▼5.72 | 39.91 ▼2.69 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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 following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'FetchTweets_Commons' not found in wp-content/plugins/fetch-tweets-hashtag-cloud/hashtagcloud/template.php:2
- > PHP Fatal error
Uncaught Error: Class 'FetchTweets_Template_Settings_Hashtag_Base' not found in wp-content/plugins/fetch-tweets-hashtag-cloud/hashtagcloud/v1/FetchTweets_Template_Settings_Hashtag.php:12
- > PHP Fatal error
Uncaught Error: Class 'FetchTweets_Template_Settings' not found in wp-content/plugins/fetch-tweets-hashtag-cloud/hashtagcloud/class/FetchTweets_Template_Settings_Hashtag.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/fetch-tweets-hashtag-cloud/hashtagcloud/v1/template.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/fetch-tweets-hashtag-cloud/fetch-tweets-hashtag-cloud.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: tweets, hashtag, template, fetch tweets, twitter...
fetch-tweets-hashtag-cloud/fetch-tweets-hashtag-cloud.php Passed 13 tests
The entry point to "Fetch Tweets - Hashtag Cloud" version 1.0.2.1 is a PHP file that has certain tags in its header comment area
67 characters long description:
Extracts and displays only hastags from the result of Fetch Tweets.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin954 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 167 | 163 | 950 |
CSS | 1 | 1 | 12 | 4 |
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.57 |
Average class complexity | 12.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 5 | 27.78% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin