Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼0.34ms] Passed 4 tests
An overview of server-side resources used by Advance Custom Import and Export
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 43.47 ▲0.63 |
Dashboard /wp-admin | 3.42 ▲0.11 | 45.94 ▼2.96 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 51.53 ▲4.97 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 98.68 ▼1.50 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.93 ▲2.49 |
Acix Tools /wp-admin/admin.php?page=acix_main | 3.31 | 30.33 |
Settings /wp-admin/admin.php?page=acix_settings | 3.31 | 32.58 |
Export /wp-admin/admin.php?page=acix_export | 3.31 | 33.17 |
Import /wp-admin/admin.php?page=acix_import | 3.31 | 32.07 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advance Custom Import and Export
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲123 | 13.32 ▼1.05 | 1.93 ▲0.14 | 38.45 ▼1.66 |
Dashboard /wp-admin | 2,247 ▲65 | 5.06 ▲0.15 | 111.02 ▲8.20 | 76.81 ▲30.30 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.46 ▲0.44 | 37.63 ▼5.68 | 34.34 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,555 ▲35 | 17.87 ▼5.31 | 672.27 ▲25.54 | 33.78 ▼22.14 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.30 ▲0.10 | 112.66 ▲1.54 | 49.34 ▲3.23 |
Acix Tools /wp-admin/admin.php?page=acix_main | 916 | 1.86 | 30.66 | 31.13 |
Settings /wp-admin/admin.php?page=acix_settings | 937 | 1.86 | 26.72 | 27.69 |
Export /wp-admin/admin.php?page=acix_export | 890 | 2.15 | 35.01 | 30.65 |
Import /wp-admin/admin.php?page=acix_import | 938 | 2.19 | 32.59 | 35.10 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 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)
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
The following issues need your attention
- 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 smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
3 plugin tags: export, backcups, import
advance-custom-import-and-export/initalize.php 85% from 13 tests
"Advance Custom Import and Export" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("advance-custom-import-and-export.php" instead of "initalize.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
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
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
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.08MB 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-6.png | 55.55KB | 29.73KB | ▼ 46.49% |
images/icon.png | 1.13KB | 0.43KB | ▼ 62.22% |
images/collapse.png | 0.32KB | 0.35KB | 0.00% |
assets/screenshot-5.png | 7.92KB | 4.01KB | ▼ 49.35% |