Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.02MB] [CPU: ▼297.99ms] Passed 4 tests
Analyzing server-side resources used by Woo Zap Mirror
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 54.13 ▲3.66 |
Dashboard /wp-admin | 3.41 ▲0.00 | 41.87 ▲8.23 |
Posts /wp-admin/edit.php | 3.65 ▲0.00 | 42.09 ▲3.59 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 100.82 ▼1,190.59 |
Media Library /wp-admin/upload.php | 3.30 ▼0.01 | 22.84 ▼8.60 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Zap Mirror
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 16.01 ▲0.39 | 7.04 ▲0.29 | 2.63 ▼0.38 |
Dashboard /wp-admin | 2,889 ▲28 | 6.14 ▼0.10 | 120.05 ▼11.59 | 156.73 ▼5.62 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.23 ▼0.01 | 66.44 ▲2.24 | 138.12 ▼2.90 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 15.77 ▼0.27 | 411.24 ▼34.30 | 154.79 ▲1.52 |
Media Library /wp-admin/upload.php | 1,695 ▼0 | 5.48 ▼0.04 | 136.40 ▼13.64 | 183.82 ▼6.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: woocommerce, index, xml, zap, mirror site
woo-zap-mirror/WC_Zap_Mirror.php 85% from 13 tests
The primary PHP file in "Woo Zap Mirror" version 1.4.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "3.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-zap-mirror.php" instead of "WC_Zap_Mirror.php")
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
Everything looks great! No dangerous files found in this plugin974 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 102 | 64 | 644 |
JavaScript | 1 | 24 | 33 | 290 |
CSS | 2 | 2 | 5 | 40 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.45% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin