83% glo3dapp-woospin

Code Review | 360 Spin For Woocommerce

WordPress plugin 360 Spin For Woocommerce scored83%from 54 tests.

About plugin

  • Plugin page: glo3dapp-woospin
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.2-5.4.1
  • WordPress version: 6.3.1
  • First release: Apr 23, 2020
  • Latest release: May 21, 2020
  • Number of updates: 8
  • Update frequency: every 3.5 days
  • Top authors: glo3d (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /1,855 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.02MB] [CPU: ▼10.14ms] Passed 4 tests

An overview of server-side resources used by 360 Spin For Woocommerce
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0339.63 ▲0.37
Dashboard /wp-admin3.34 ▼0.0048.73 ▼18.04
Posts /wp-admin/edit.php3.39 ▲0.0350.43 ▼4.21
Add New Post /wp-admin/post-new.php5.92 ▲0.0388.51 ▼15.35
Media Library /wp-admin/upload.php3.27 ▲0.0332.79 ▼2.97

Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
It is recommended to fix the following issues
  • Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/glo3dapp-woospin/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

360 Spin For Woocommerce: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,840 ▲7913.24 ▼1.021.94 ▲0.2839.32 ▼1.52
Dashboard /wp-admin2,218 ▲125.79 ▲0.7499.87 ▼9.1642.37 ▼1.37
Posts /wp-admin/edit.php2,097 ▼32.01 ▼0.0133.59 ▼5.5436.00 ▼2.39
Add New Post /wp-admin/post-new.php1,526 ▼517.76 ▼5.26669.15 ▲62.4563.37 ▲8.13
Media Library /wp-admin/upload.php1,397 ▼64.20 ▼0.05105.09 ▲2.2158.16 ▲15.18

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

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
Almost there! Just fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/glo3dapp-woospin/thumb.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 83% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: 360 spin, free woocommerce 360 product photography app, woocommerce easy 360, 360 product photography, free 360 spin plugin...

glo3dapp-woospin/360-spin-for-woocommerce.php 62% from 13 tests

"360 Spin For Woocommerce" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("glo3dapp-woospin.php" instead of "360-spin-for-woocommerce.php")
  • Domain Path: The domain path folder was not found ("/languages")
  • Requires at least: Required version must match the one declared in readme.txt ("3.1" instead of "2.2")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin309 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP21720213
JavaScript33466
SVG10126
CSS2004

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.31
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin