84% wpkmkz-tweet-blockquotes

Code Review | Wpkmkz Tweet Blockquotes

WordPress plugin Wpkmkz Tweet Blockquotes scored84%from 54 tests.

About plugin

  • Plugin page: wpkmkz-tweet-bloc...
  • Plugin version: 1.3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-3.9.1
  • WordPress version: 6.3.1
  • First release: Apr 15, 2014
  • Latest release: Apr 16, 2014
  • Number of updates: 16
  • Update frequency: every 0.5 days
  • Top authors: skapator (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,070 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.00MB] [CPU: ▼6.67ms] Passed 4 tests

Server-side resources used by Wpkmkz Tweet Blockquotes
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.33 ▲3.73
Dashboard /wp-admin3.31 ▲0.0141.39 ▼4.63
Posts /wp-admin/edit.php3.36 ▲0.0043.93 ▼4.64
Add New Post /wp-admin/post-new.php5.89 ▲0.0177.98 ▼18.09
Media Library /wp-admin/upload.php3.23 ▲0.0037.57 ▲0.70

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Wpkmkz Tweet Blockquotes
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.74 ▼0.641.72 ▲0.0242.00 ▲0.34
Dashboard /wp-admin2,206 ▲185.91 ▲0.04103.96 ▲5.9436.25 ▼5.72
Posts /wp-admin/edit.php2,092 ▲32.06 ▲0.0239.01 ▼2.3134.04 ▼0.53
Add New Post /wp-admin/post-new.php1,537 ▲1723.46 ▲0.18652.46 ▼25.1653.23 ▼1.19
Media Library /wp-admin/upload.php1,388 ▼04.20 ▲0.0293.40 ▼6.5442.88 ▼3.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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpkmkz-tweet-blockquotes/wpkmkz-tweet-blockquotes.php:26

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: blockquote, bootstrap, widget, twitter, tweet

wpkmkz-tweet-blockquotes/wpkmkz-tweet-blockquotes.php 92% from 13 tests

The main file in "Wpkmkz Tweet Blockquotes" v. 1.3.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected83 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript252537
PHP2132933
CSS11013

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.05
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/twitter.png3.21KB0.54KB▼ 83.24%