90% zippy

Code Review | Zippy

WordPress plugin Zippy scored90%from 54 tests.

About plugin

  • Plugin page: zippy
  • Plugin version: 1.6.7
  • PHP version: 7.4.16
  • WordPress compatibility: 7.0-6.4
  • WordPress version: 6.3.1
  • First release: Oct 12, 2016
  • Latest release: Oct 27, 2023
  • Number of updates: 45
  • Update frequency: every 57.1 days
  • Top authors: loyaltymanufaktur (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

10,000+ active /147,430 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.25MB] [CPU: ▼2.88ms] Passed 4 tests

This is a short check of server-side resources used by Zippy
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.1941.19 ▲2.56
Dashboard /wp-admin3.57 ▲0.2748.34 ▲1.47
Posts /wp-admin/edit.php3.69 ▲0.3347.09 ▼3.30
Add New Post /wp-admin/post-new.php6.17 ▲0.2884.84 ▼12.23
Media Library /wp-admin/upload.php3.50 ▲0.2637.81 ▲5.20
Zippy /wp-admin/tools.php?page=zippy3.4735.53

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Zippy: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,892 ▲13113.29 ▼1.274.53 ▲2.5942.13 ▲0.84
Dashboard /wp-admin2,293 ▲1195.89 ▲0.2987.62 ▲0.4238.22 ▼1.46
Posts /wp-admin/edit.php2,223 ▲1262.50 ▲0.5033.77 ▼5.2733.37 ▼6.58
Add New Post /wp-admin/post-new.php1,615 ▲7923.31 ▲0.23633.92 ▼75.6235.51 ▼15.11
Media Library /wp-admin/upload.php1,498 ▲1014.45 ▲0.27112.95 ▲8.6645.04 ▼4.60
Zippy /wp-admin/tools.php?page=zippy9691.9927.8928.52

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Screenshots: These screenshots need descriptions #2, #3 in zippy/assets to your readme.txt
The official readme.txt might help

zippy/zippy.php Passed 13 tests

This is the main PHP file of "Zippy" version 1.6.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
111 characters long description:
Incredibly easy solution to archive pages and posts as zip file and unpack them back even on the other website!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin954 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP2272273860
PO File1293088
JavaScript1006

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.72
Average class complexity210.00
▷ Minimum class complexity210.00
▷ Maximum class complexity210.00
Average method complexity7.19
▷ Minimum method complexity1.00
▷ Maximum method complexity70.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods29
▷ Static methods1551.72%
▷ Public methods1655.17%
▷ Protected methods00.00%
▷ Private methods1344.83%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin