94% zagzig-integration

Code Review | Zagzig Integration

WordPress plugin Zagzig Integration scored 94% from 54 tests.

About plugin

  • Plugin page: zagzig-integration
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-3.9.1
  • WordPress version: 5.8.1
  • First release: Aug 11, 2014
  • Latest release: Aug 28, 2014
  • Number of updates: 5
  • Update frequency: every 4.0 days
  • Top authors: pawelburzynski (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 516 total downloads

Benchmarks

Plugin footprint Passed 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.00MB] [CPU: ▼160.20ms] Passed 4 tests

Analyzing server-side resources used by Zagzig Integration
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0030.12 ▲8.71
Dashboard /wp-admin3.06 ▼0.0031.31 ▼7.11
Posts /wp-admin/edit.php3.11 ▲0.0031.10 ▼0.17
Add New Post /wp-admin/post-new.php5.42 ▼0.0267.80 ▼632.81
Media Library /wp-admin/upload.php3.00 ▲0.0022.57 ▼0.72

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Zagzig Integration
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲6515.79 ▲0.215.04 ▲0.0475.87 ▲0.78
Dashboard /wp-admin2,933 ▲386.09 ▼0.09114.73 ▼20.41168.06 ▼14.63
Posts /wp-admin/edit.php2,737 ▼03.24 ▲0.0263.61 ▼0.69133.36 ▼3.77
Add New Post /wp-admin/post-new.php3,917 ▲11018.52 ▲0.20449.52 ▲5.58164.49 ▲6.98
Media Library /wp-admin/upload.php1,752 ▼05.56 ▲0.08139.06 ▼7.79189.37 ▲4.25

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/zagzig-integration/zagzig-integration.php

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 93% 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
These attributes need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === zagzig-integration === )
The official readme.txt might help

zagzig-integration/zagzig-integration.php 92% from 13 tests

This is the main PHP file of "Zagzig Integration" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 165 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
There were no executable files found in this plugin197 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP18115197

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity7.50
▷ Minimum class complexity3.00
▷ Maximum class complexity12.00
Average method complexity1.72
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods18
▷ Static methods1266.67%
▷ Public methods1688.89%
▷ Protected methods00.00%
▷ Private methods211.11%
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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin