Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼9.45ms] Passed 4 tests
Analyzing server-side resources used by WordPress Hashtags
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 44.50 ▼2.27 |
Dashboard /wp-admin | 3.42 ▲0.04 | 52.29 ▼18.77 |
Posts /wp-admin/edit.php | 3.54 ▲0.14 | 50.82 ▲0.65 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.08 | 90.61 ▼17.39 |
Media Library /wp-admin/upload.php | 3.35 ▲0.08 | 38.73 ▲2.94 |
WP Hashtags /wp-admin/options-general.php?page=wordpress-hashtags | 3.32 | 36.71 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 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-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
WordPress Hashtags: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.35 ▼0.38 | 2.04 ▲0.47 | 42.94 ▲2.36 |
Dashboard /wp-admin | 2,199 ▲19 | 5.61 ▼0.02 | 96.14 ▲6.24 | 43.81 ▲1.43 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.01 | 34.80 ▼3.98 | 33.89 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.71 ▲0.51 | 683.93 ▼15.22 | 61.73 ▲8.32 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.28 ▲0.03 | 109.17 ▲11.10 | 46.08 ▲3.71 |
WP Hashtags /wp-admin/options-general.php?page=wordpress-hashtags | 1,118 | 2.15 | 28.14 | 48.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: There are too many tags (20 tag instead of maximum 10)
wp-hashtags/index.php 92% from 13 tests
The main file in "WordPress Hashtags" v. 0.3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-hashtags.php" instead of "index.php")
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
There were no executable files found in this plugin430 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 105 | 9 | 250 |
JavaScript | 1 | 10 | 7 | 123 |
CSS | 1 | 2 | 4 | 57 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 56.00 |
▷ Minimum class complexity | 56.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 7.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected