84% tw-quickly

Code Review | Tw Quickly(日本語版)

WordPress plugin Tw Quickly(日本語版) scored84%from 54 tests.

About plugin

  • Plugin page: tw-quickly
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-5.8.2
  • WordPress version: 6.3.1
  • First release: Jan 2, 2022
  • Latest release: Jan 2, 2022
  • Number of updates: 13
  • Update frequency: every 0.4 days
  • Top authors: kaeru510 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /386 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.10MB] [CPU: ▼6.96ms] Passed 4 tests

A check of server-side resources used by Tw Quickly(日本語版)
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.65 ▼9.37
Dashboard /wp-admin3.31 ▲0.0144.90 ▼3.61
Posts /wp-admin/edit.php3.36 ▲0.0148.49 ▲2.66
Add New Post /wp-admin/post-new.php5.44 ▼0.4476.70 ▼14.22
Media Library /wp-admin/upload.php3.24 ▲0.0135.04 ▼0.65

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Tw Quickly(日本語版)
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.60 ▼0.771.73 ▼0.4437.28 ▼11.35
Dashboard /wp-admin2,200 ▲125.83 ▲0.92100.13 ▼14.1639.84 ▼12.34
Posts /wp-admin/edit.php2,086 ▼31.97 ▼0.0839.47 ▲3.0635.17 ▼1.12
Add New Post /wp-admin/post-new.php6,467 ▲4,92723.55 ▲0.64857.59 ▲174.1168.22 ▲7.74
Media Library /wp-admin/upload.php1,382 ▼64.19 ▼0.11103.20 ▼5.8442.79 ▼3.00

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tw-quickly/tw.quickly.japanese.php:41

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 Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: quickly, tweet, twquickly, twitter

tw-quickly/tw.quickly.japanese.php 85% from 13 tests

Analyzing the main PHP file in "Tw Quickly(日本語版)" version 1.0
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 312 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("tw-quickly.php" instead of "tw.quickly.japanese.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
Success! There were no dangerous files found in this plugin23 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP131723

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.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
No PNG files were detected