Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.27MB] [CPU: ▼0.48ms] Passed 4 tests
This is a short check of server-side resources used by Smart Hashtags [#hashtagger]
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 45.31 ▲4.58 |
Dashboard /wp-admin | 3.59 ▲0.24 | 52.24 ▼11.77 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 55.04 ▲8.65 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 102.90 ▲3.83 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 42.03 ▲1.42 |
#hashtagger /wp-admin/options-general.php?page=hashtaggersettings | 3.48 | 37.59 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Smart Hashtags [#hashtagger]
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.36 ▼1.01 | 1.60 ▼0.22 | 38.99 ▼4.27 |
Dashboard /wp-admin | 2,215 ▲27 | 5.86 ▼0.02 | 97.14 ▼15.49 | 39.88 ▼4.72 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▲0.02 | 38.70 ▲5.68 | 32.26 ▼5.49 |
Add New Post /wp-admin/post-new.php | 1,545 ▲25 | 18.31 ▼2.74 | 643.10 ▼38.03 | 54.61 ▲1.65 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.18 ▼0.11 | 97.32 ▼11.84 | 43.58 ▼4.99 |
#hashtagger /wp-admin/options-general.php?page=hashtaggersettings | 851 | 2.23 | 27.01 | 27.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: facebook, twitter, social, tags, classicpress...
hashtagger/hashtagger.php Passed 13 tests
The main PHP file in "Smart Hashtags [#hashtagger]" ver. 7.2.2 adds more information about the plugin and also serves as the entry point for this plugin
53 characters long description:
Use #hashtags, @usernames and $cashtags in your posts
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
Good job! No executable or dangerous file extensions detected1,334 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 641 | 523 | 1,162 |
CSS | 2 | 32 | 0 | 160 |
JavaScript | 1 | 2 | 0 | 12 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 126.00 |
▷ Minimum class complexity | 126.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 76 | |
▷ Static methods | 1 | 1.32% |
▷ Public methods | 62 | 81.58% |
▷ Protected methods | 1 | 1.32% |
▷ Private methods | 13 | 17.11% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/progress.png | 0.28KB | 0.25KB | ▼ 12.20% |