84% wp-image-zoomify

Code Review | WP Image Zoomify

WordPress plugin WP Image Zoomify scored84%from 54 tests.

About plugin

  • Plugin page: wp-image-zoomify
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.5
  • WordPress version: 6.3.1
  • First release: Jul 3, 2016
  • Latest release: Jul 3, 2016
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: manikmist09 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,985 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

A check of server-side resources used by WP Image Zoomify
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.93 ▼2.62
Dashboard /wp-admin3.31 ▼0.0451.61 ▼16.72
Posts /wp-admin/edit.php3.37 ▲0.0050.03 ▼1.64
Add New Post /wp-admin/post-new.php5.90 ▲0.0087.49 ▼20.73
Media Library /wp-admin/upload.php3.24 ▲0.0037.42 ▲0.09

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

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

Browser metrics Passed 4 tests

A check of browser resources used by WP Image Zoomify
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,900 ▲15413.51 ▼0.898.55 ▲6.7642.52 ▼2.42
Dashboard /wp-admin2,195 ▲155.62 ▼0.04100.20 ▲12.2943.31 ▲2.83
Posts /wp-admin/edit.php2,100 ▼31.95 ▼0.1938.19 ▼2.2431.19 ▼7.47
Add New Post /wp-admin/post-new.php1,526 ▼022.89 ▼0.94650.17 ▼29.2755.67 ▲3.86
Media Library /wp-admin/upload.php1,391 ▼64.18 ▼0.0098.79 ▼7.7640.84 ▼5.06

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% 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
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-image-zoomify/wp-image-zoomify.php:55

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: image zoom, zoomify, smooth image popup, image popup, image light box

wp-image-zoomify/wp-image-zoomify.php Passed 13 tests

The primary PHP file in "WP Image Zoomify" version 0.1 is used by WordPress to initiate all plugin functionality
58 characters long description:
Zoomify is simple image light box plugin with zoom effect.

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
No dangerous file extensions were detected22 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP182820
CSS1001
JavaScript1011

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues 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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected