Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼315.14ms] Passed 4 tests
A check of server-side resources used by AAkron Personalization
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 55.34 ▲0.72 |
Dashboard /wp-admin | 3.41 ▲0.00 | 33.64 ▲2.00 |
Posts /wp-admin/edit.php | 3.65 ▲0.00 | 39.82 ▲4.55 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 92.93 ▼1,262.41 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.26 ▼0.85 |
Server storage [IO: ▲1.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 40 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by AAkron Personalization
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲31 | 15.99 ▼0.06 | 5.94 ▼0.19 | 2.79 ▲0.51 |
Dashboard /wp-admin | 2,881 ▲27 | 5.98 ▼0.20 | 130.97 ▼14.53 | 163.48 ▼0.56 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.24 ▼0.00 | 63.92 ▼0.91 | 137.22 ▲2.54 |
Add New Post /wp-admin/post-new.php | 1,660 ▼59 | 15.68 ▼6.72 | 405.19 ▼11.89 | 151.64 ▼9.41 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.51 ▼0.02 | 139.66 ▼9.10 | 187.28 ▼2.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: designer, product designer tool, customization, woocommerce, product customizer
aakron-personalization/aakron-personalization.php Passed 13 tests
This is the main PHP file of "AAkron Personalization" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
68 characters long description:
This Plugin is used to connect wordpress to our product design tool.
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
No dangerous file extensions were detected3,064 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 481 | 1,068 | 2,703 |
JavaScript | 3 | 17 | 63 | 249 |
CSS | 2 | 13 | 27 | 112 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 29.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 2 | 2.25% |
▷ Public methods | 84 | 94.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.62% |
Functions | 6 | |
▷ Named functions | 6 | 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 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/in.png | 2.23KB | 0.94KB | ▼ 57.77% |
admin/images/logo.png | 7.51KB | 7.50KB | 0.26% |
public/images/insta.png | 2.71KB | 1.24KB | ▼ 54.36% |
public/images/logo.png | 7.51KB | 7.50KB | 0.26% |
public/images/tw.png | 2.47KB | 1.02KB | ▼ 58.73% |