83% tz-zoomifywp-free

Code Review | ZoomifyWP Free

WordPress plugin ZoomifyWP Free scored83%from 54 tests.

About plugin

  • Plugin page: tz-zoomifywp-free
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.7.5
  • WordPress version: 6.3.1
  • First release: Jun 7, 2017
  • Latest release: Jun 7, 2017
  • Number of updates: 3
  • Update frequency: every 13.0 days
  • Top authors: terrazoom (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /875 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

Analyzing server-side resources used by ZoomifyWP Free
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.43 ▼5.21
Dashboard /wp-admin3.32 ▲0.0150.09 ▼5.40
Posts /wp-admin/edit.php3.37 ▲0.0148.19 ▼4.12
Add New Post /wp-admin/post-new.php5.90 ▲0.0187.30 ▼18.18
Media Library /wp-admin/upload.php3.24 ▲0.0138.16 ▼0.22

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by ZoomifyWP Free
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.37 ▲0.081.67 ▼0.7044.89 ▼0.36
Dashboard /wp-admin2,196 ▲225.62 ▼0.0683.46 ▼16.3538.45 ▼3.36
Posts /wp-admin/edit.php2,106 ▲32.21 ▲0.1933.43 ▼6.3932.98 ▼6.85
Add New Post /wp-admin/post-new.php1,530 ▲223.33 ▲0.25641.64 ▼46.4665.33 ▼0.74
Media Library /wp-admin/upload.php1,398 ▼24.28 ▲0.10102.31 ▼16.1944.06 ▼4.86

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/tz-zoomifywp-free/zoomifyWP-free.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === tz-zoomifywp-free === )
  • Screenshots: Screenshot #1 (screenshot-1.jpg) image required
You can look at the official readme.txt

tz-zoomifywp-free/zoomifyWP-free.php 92% from 13 tests

The entry point to "ZoomifyWP Free" version 1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("tz-zoomifywp-free.php" instead of "zoomifyWP-free.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected209 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript107168
PHP181434
CSS1017

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
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
_assets/zoomify_icon.png0.45KB0.30KB▼ 33.62%