Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼157.00ms] Passed 4 tests
This is a short check of server-side resources used by Aotomot Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.00 ▲0.28 | 37.08 ▲10.11 |
Dashboard /wp-admin | 3.33 ▲0.28 | 53.58 ▼10.70 |
Posts /wp-admin/edit.php | 3.38 ▲0.28 | 50.67 ▼12.57 |
Add New Post /wp-admin/post-new.php | 5.60 ▲0.17 | 100.60 ▼602.03 |
Media Library /wp-admin/upload.php | 3.19 ▲0.19 | 34.94 ▼2.68 |
Aotomot Gallery /wp-admin/options-general.php?page=aotomot_gallery | 3.19 | 37.60 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 2 new options
New WordPress options |
---|
aotomot_basics |
aotomot_advanced |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Aotomot Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,043 ▲471 | 18.12 ▲2.60 | 13.35 ▲1.55 | 64.55 ▲10.17 |
Dashboard /wp-admin | 3,190 ▲259 | 8.29 ▲2.41 | 221.21 ▲12.91 | 150.77 ▼26.57 |
Posts /wp-admin/edit.php | 2,992 ▲253 | 4.37 ▲1.66 | 98.34 ▲12.91 | 100.66 ▼26.21 |
Add New Post /wp-admin/post-new.php | 1,641 ▲50 | 21.31 ▲2.57 | 348.11 ▼104.73 | 130.90 ▲14.55 |
Media Library /wp-admin/upload.php | 1,841 ▲31 | 4.92 ▼0.12 | 124.49 ▼54.03 | 120.28 ▼8.06 |
Aotomot Gallery /wp-admin/options-general.php?page=aotomot_gallery | 1,941 | 4.19 | 110.66 | 78.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 2 options in the database
- aotomot_basics
- aotomot_advanced
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/aotomot-gallery/admin/partials/aotomot-gallery-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Create new gallery at Aotomot Platform https://aotomot.com/modules), #2 (Add new image to the gallery.), #3 (Configure basic settings in WordPess setting-> Aotomot Gallery), #4 (Configure advanced settings)
aotomot-gallery/aotomot-gallery.php 92% from 13 tests
Analyzing the main PHP file in "Aotomot Gallery" version 1.0.0
The following require your attention:
- 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
Everything looks great! No dangerous files found in this plugin1,096 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 121 | 736 | 861 |
CSS | 2 | 0 | 6 | 113 |
Sass | 1 | 15 | 0 | 103 |
JavaScript | 2 | 6 | 57 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 4 | 6.35% |
▷ Public methods | 58 | 92.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.94% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 1.02MB with 0.73MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 57.90KB | 13.64KB | ▼ 76.44% |
screenshot-2.png | 876.43KB | 224.81KB | ▼ 74.35% |
screenshot-4.png | 32.57KB | 10.87KB | ▼ 66.63% |
screenshot-3.png | 81.49KB | 27.66KB | ▼ 66.06% |