90% hash-hash-tags

Code Review | Hash Hash Tags

WordPress plugin Hash Hash Tags scored90%from 54 tests.

About plugin

  • Plugin page: hash-hash-tags
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.4-5.3
  • WordPress version: 6.3.1
  • First release: Apr 25, 2019
  • Latest release: Nov 15, 2019
  • Number of updates: 12
  • Update frequency: every 17.1 days
  • Top authors: kyriejpn (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /858 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.90ms] Passed 4 tests

Server-side resources used by Hash Hash Tags
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.99 ▲1.42
Dashboard /wp-admin3.32 ▼0.0247.44 ▼10.08
Posts /wp-admin/edit.php3.37 ▲0.0244.40 ▼2.13
Add New Post /wp-admin/post-new.php5.90 ▲0.0280.50 ▼16.06
Media Library /wp-admin/upload.php3.24 ▲0.0233.62 ▲0.68
Hash Hash Tags /wp-admin/options-general.php?page=hash2tag_setting3.2127.94

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
hash2tag_setting
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Hash Hash Tags: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8314.28 ▼0.211.90 ▲0.1443.26 ▲2.26
Dashboard /wp-admin2,210 ▲225.83 ▼0.01100.13 ▲0.7939.89 ▼0.82
Posts /wp-admin/edit.php2,093 ▲12.04 ▲0.0336.07 ▼4.8331.18 ▼5.82
Add New Post /wp-admin/post-new.php1,545 ▲2418.15 ▼4.96593.61 ▲1.8251.59 ▼1.42
Media Library /wp-admin/upload.php1,392 ▲14.17 ▼0.0295.82 ▼7.7543.69 ▼0.89
Hash Hash Tags /wp-admin/options-general.php?page=hash2tag_setting8282.0323.3031.42

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_theysaidso_widget
    • hash2tag_setting
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

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)
Everything seems fine, however 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 | This is a shallow check for browser errors
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
9 plugin tags: tags, hashtags, seo, instagram, hashtag...

hash-hash-tags/hash-hash-tags.php Passed 13 tests

Analyzing the main PHP file in "Hash Hash Tags" version 1.0.1
133 characters long description:
"Characters starting with #" will be tag links. #から始まる文字 をtag linkに. Like Instagram. Like note-mu. Mobile-Friendly.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected259 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP18676221
PO File1181538

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity2.38
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods787.50%
▷ Protected methods00.00%
▷ Private methods112.50%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin