Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼277.03ms] Passed 4 tests
A check of server-side resources used by Taxnalogy Aliexpress Product Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.11 | 31.62 ▲12.99 |
Dashboard /wp-admin | 3.06 ▲0.00 | 39.68 ▼2.27 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 41.64 ▲0.39 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 89.81 ▼1,093.72 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 27.95 ▼12.51 |
Server storage [IO: ▲3.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Taxnalogy Aliexpress Product Importer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,674 ▲68 | 16.14 ▲0.61 | 9.30 ▼0.47 | 49.52 ▲2.26 |
Dashboard /wp-admin | 2,931 ▲81 | 5.96 ▲0.17 | 138.45 ▲1.38 | 108.59 ▲2.20 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.69 ▼0.01 | 67.87 ▲3.47 | 84.47 ▼10.32 |
Add New Post /wp-admin/post-new.php | 1,851 ▲200 | 18.75 ▲1.46 | 367.05 ▼0.22 | 100.19 ▼7.41 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 5.02 ▲0.01 | 143.96 ▼5.02 | 113.89 ▲1.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/taxnalogy-aliexpress-product-importer/functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/taxnalogy-aliexpress-product-importer/templates/tapi-admin-menu.php:2
- > PHP Fatal error
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 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== taxnalogy-aliexpress-product-importer ===
)
taxnalogy-aliexpress-product-importer/taxnalogy-aliexpress-product-importer.php 92% from 13 tests
The primary PHP file in "Taxnalogy Aliexpress Product Importer" version 2.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 254 characters long)
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 plugin23,043 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,479 | 48 | 13,027 |
JavaScript | 5 | 2,028 | 1,754 | 8,217 |
PHP | 10 | 96 | 269 | 1,722 |
PO File | 1 | 30 | 30 | 77 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 27.86 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 4.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 2 | 28.57% |
Methods | 56 | |
▷ Static methods | 9 | 16.07% |
▷ Public methods | 40 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 28.57% |
Functions | 8 | |
▷ Named functions | 8 | 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 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected