Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼293.40ms] Passed 4 tests
Server-side resources used by Advance Custom Import and Export
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 53.55 ▲1.49 |
Dashboard /wp-admin | 3.45 ▲0.04 | 32.72 ▼0.81 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 44.18 ▲6.53 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 97.10 ▼1,170.91 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 22.54 ▼3.38 |
Export /wp-admin/admin.php?page=acix_export | 3.33 | 22.12 |
Import /wp-admin/admin.php?page=acix_import | 3.33 | 23.99 |
Acix Tools /wp-admin/admin.php?page=acix_main | 3.33 | 21.14 |
Settings /wp-admin/admin.php?page=acix_settings | 3.32 | 21.89 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advance Custom Import and Export
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,821 ▲77 | 16.04 ▲0.27 | 6.70 ▲0.41 | 2.16 ▼0.36 |
Dashboard /wp-admin | 2,949 ▲95 | 6.23 ▲0.07 | 115.85 ▼14.78 | 168.41 ▲9.15 |
Posts /wp-admin/edit.php | 2,720 ▲29 | 3.25 ▲0.01 | 69.48 ▲6.13 | 141.48 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,698 ▲37 | 16.19 ▼0.10 | 392.88 ▼19.31 | 157.32 ▲4.34 |
Media Library /wp-admin/upload.php | 1,754 ▲56 | 5.62 ▲0.08 | 119.84 ▼25.16 | 198.94 ▲3.62 |
Export /wp-admin/admin.php?page=acix_export | 1,149 | 3.09 | 59.34 | 137.75 |
Import /wp-admin/admin.php?page=acix_import | 1,196 | 3.09 | 57.93 | 147.30 |
Acix Tools /wp-admin/admin.php?page=acix_main | 1,182 | 2.84 | 53.33 | 115.62 |
Settings /wp-admin/admin.php?page=acix_settings | 1,179 | 2.80 | 55.94 | 138.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/advance-custom-import-and-export/initalize.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
3 plugin tags: import, backcups, export
advance-custom-import-and-export/initalize.php 85% from 13 tests
Analyzing the main PHP file in "Advance Custom Import and Export" version 1.0
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("advance-custom-import-and-export.php" instead of "initalize.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin972 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 257 | 71 | 849 |
CSS | 2 | 11 | 0 | 89 |
JavaScript | 1 | 8 | 5 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 74.00 |
▷ Minimum class complexity | 74.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.19MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 36.38KB | 19.82KB | ▼ 45.54% |
assets/screenshot-1.png | 15.29KB | 7.29KB | ▼ 52.31% |
assets/screenshot-2.png | 41.04KB | 20.82KB | ▼ 49.27% |
assets/screenshot-7.png | 16.20KB | 8.17KB | ▼ 49.57% |
images/collapse.png | 0.32KB | 0.35KB | 0.00% |