Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.31ms] Passed 4 tests
Server-side resources used by Import Products to VK
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.27 ▼5.65 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.22 ▼17.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.69 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.82 ▼17.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.93 ▲2.27 |
Server storage [IO: ▲1.87MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Import Products to VK
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲33 | 14.32 ▼0.03 | 1.72 ▲0.02 | 26.58 ▼15.64 |
Dashboard /wp-admin | 2,200 ▲19 | 5.59 ▼0.13 | 94.39 ▼19.52 | 43.13 ▼1.65 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.00 ▲0.04 | 40.42 ▲0.61 | 41.67 ▲9.17 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.05 ▼0.08 | 635.41 ▼59.11 | 52.59 ▼4.39 |
Media Library /wp-admin/upload.php | 1,399 ▲2 | 4.18 ▲0.01 | 96.43 ▼1.31 | 46.35 ▲5.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Screenshot #1 (screenshot-2.png) image required
import-products-to-vk/import-products-to-vk.php 92% from 13 tests
Analyzing the main PHP file in "Import Products to VK" version 0.4.7
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.5" instead of "4.7")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected6,913 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 657 | 2,212 | 6,368 |
PO File | 1 | 548 | 1,124 | 531 |
CSS | 1 | 0 | 1 | 10 |
JavaScript | 2 | 0 | 1 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 22.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 6 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 12 | 70.59% |
Methods | 265 | |
▷ Static methods | 6 | 2.26% |
▷ Public methods | 181 | 68.30% |
▷ Protected methods | 12 | 4.53% |
▷ Private methods | 72 | 27.17% |
Functions | 41 | |
▷ Named functions | 27 | 65.85% |
▷ Anonymous functions | 14 | 34.15% |
Constants | 13 | |
▷ Global constants | 11 | 84.62% |
▷ Class constants | 2 | 15.38% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.99MB with 0.64MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/instruction-1.png | 60.71KB | 20.44KB | ▼ 66.33% |
img/instruction-2.png | 59.38KB | 20.13KB | ▼ 66.11% |
screenshot-2.png | 87.15KB | 34.27KB | ▼ 60.68% |
img/instruction-5.png | 389.33KB | 140.83KB | ▼ 63.83% |
img/instruction-3.png | 93.65KB | 31.25KB | ▼ 66.64% |