77% flickzee-where-to-watch-widget

Code Review | Flickzee Widget

WordPress plugin Flickzee Widget scored77%from 54 tests.

About plugin

  • Plugin page: flickzee-where-to...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.1-5.5.1
  • WordPress version: 6.3.1
  • First release: Oct 14, 2020
  • Latest release: Oct 14, 2020
  • Number of updates: 7
  • Update frequency: every 0.1 days
  • Top authors: flickzee (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /440 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 gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.84ms] Passed 4 tests

This is a short check of server-side resources used by Flickzee Widget
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0042.52 ▼0.47
Dashboard /wp-admin3.31 ▲0.0151.92 ▼4.90
Posts /wp-admin/edit.php3.36 ▲0.0153.25 ▼5.18
Add New Post /wp-admin/post-new.php5.89 ▲0.0188.24 ▼8.81
Media Library /wp-admin/upload.php3.23 ▲0.0136.60 ▲0.63

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Flickzee Widget
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲4913.55 ▼0.801.65 ▼0.7645.54 ▼0.25
Dashboard /wp-admin2,226 ▲384.88 ▼0.00101.17 ▼9.8141.63 ▼1.20
Posts /wp-admin/edit.php2,109 ▲172.06 ▲0.0936.45 ▼6.5332.58 ▼4.81
Add New Post /wp-admin/post-new.php1,560 ▲3018.52 ▲0.43657.20 ▲13.5653.53 ▼6.70
Media Library /wp-admin/upload.php1,411 ▲204.18 ▼0.07101.84 ▼4.0640.86 ▼7.92

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 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
Please fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/flickzee-where-to-watch-widget/includes/flickzee-plugin-first-acp-page.php
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flickzee-where-to-watch-widget/includes/flickzee-plugin-functions.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/flickzee-where-to-watch-widget/flickzee-plugin.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Screenshots: Screenshot #1 (screenshot-1.JPG) image required
  • Donate link: Invalid url: ""
The official readme.txt is a good inspiration

flickzee-where-to-watch-widget/flickzee-plugin.php 85% from 13 tests

"Flickzee Widget" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("flickzee-where-to-watch-widget.php" instead of "flickzee-plugin.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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
There were no executable files found in this plugin55 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP351455

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
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%
Functions1
▷ Named functions1100.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
No PNG files were detected