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.00MB] [CPU: ▼2.80ms] Passed 4 tests
Server-side resources used by Airi Demo Importer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.25 ▼2.71 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.99 ▼0.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.23 ▼3.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.40 ▼3.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.09 ▼1.56 |
Server storage [IO: ▲5.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Airi Demo Importer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.22 ▼1.13 | 1.73 ▼0.10 | 44.25 ▲4.93 |
Dashboard /wp-admin | 2,203 ▲12 | 5.84 ▲0.97 | 94.96 ▼8.99 | 41.17 ▲2.23 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.04 | 36.04 ▲0.27 | 32.30 ▲1.50 |
Add New Post /wp-admin/post-new.php | 1,529 ▲9 | 18.39 ▼4.39 | 637.74 ▼34.06 | 52.05 ▼10.46 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.22 ▲0.01 | 95.63 ▼18.59 | 41.09 ▼6.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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
1 plugin tags: demo content
airi-demo-importer/airi-demo-importer.php 92% from 13 tests
The principal PHP file in "Airi Demo Importer" v. 1.0.3 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin26,537 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 6 | 368 | 115 | 26,496 |
PHP | 2 | 17 | 32 | 41 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.72MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
demo-content/previews/business2-hero-thumb.png | 174.79KB | 65.17KB | ▼ 62.71% |
demo-content/previews/startup-hero-thumb.png | 19.47KB | 20.88KB | 0.00% |
demo-content/previews/agency-hero-thumb.png | 22.79KB | 22.78KB | 0.02% |
demo-content/previews/health-hero-thumb.png | 41.55KB | 44.45KB | 0.00% |
demo-content/previews/lawyer-hero-thumb.png | 141.02KB | 54.63KB | ▼ 61.26% |