Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼139.17ms] Passed 4 tests
Analyzing server-side resources used by Avirato Hotels Categories
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 36.19 ▲14.83 |
Dashboard /wp-admin | 3.14 ▲0.08 | 46.60 ▼0.09 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 45.86 ▲7.96 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 94.86 ▼564.82 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 34.48 ▲0.28 |
Avirato Categories /wp-admin/admin.php?page=ahc_aviratoCategories-content-settings | 3.05 | 29.60 |
Avirato Suite /wp-admin/admin.php?page=ahs_aviratoSuite-content-settings | 3.05 | 27.46 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: 3 new tables, no new options
New tables |
---|
wp_ahc_cron_try |
wp_ahc_textComp_Cat |
wp_ahc_textComp_Cats |
Browser metrics Passed 4 tests
A check of browser resources used by Avirato Hotels Categories
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,862 ▲266 | 16.73 ▲1.06 | 17.51 ▲5.51 | 52.76 ▲3.67 |
Dashboard /wp-admin | 2,996 ▲62 | 5.88 ▼0.12 | 143.31 ▼5.99 | 133.53 ▲20.56 |
Posts /wp-admin/edit.php | 2,794 ▲55 | 2.70 ▼0.02 | 70.06 ▲1.57 | 89.00 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,708 ▲127 | 18.42 ▲2.03 | 415.41 ▼99.37 | 106.40 ▼35.96 |
Media Library /wp-admin/upload.php | 1,856 ▲49 | 5.01 ▼0.03 | 139.86 ▼29.89 | 150.48 ▲36.03 |
Avirato Categories /wp-admin/admin.php?page=ahc_aviratoCategories-content-settings | 1,277 | 2.34 | 54.51 | 89.28 |
Avirato Suite /wp-admin/admin.php?page=ahs_aviratoSuite-content-settings | 1,229 | 2.09 | 54.40 | 87.91 |
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
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Donate link: Invalid URI ("")
avirato-hotels-categories/Avirato_Hotels_Categories.php 92% from 13 tests
The entry point to "Avirato Hotels Categories" version 1.1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("avirato-hotels-categories.php" instead of "Avirato_Hotels_Categories.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
Everything looks great! No dangerous files found in this plugin1,689 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 56 | 82 | 1,005 |
PHP | 1 | 40 | 37 | 484 |
JavaScript | 3 | 22 | 15 | 200 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 18 | |
▷ Named functions | 18 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/icons/icon-128x128.png | 3.73KB | 2.41KB | ▼ 35.32% |
includes/icons/icono-WEBINARS-PROXIMOS.png | 1.63KB | 1.66KB | 0.00% |
includes/icons/Icono-manual-de-usuario.png | 0.92KB | 0.50KB | ▼ 45.59% |
includes/icons/ic_event_black_24dp_2x.png | 0.18KB | 0.26KB | 0.00% |
includes/icons/avirato-logo.png | 4.40KB | 2.39KB | ▼ 45.71% |