Benchmarks
Plugin footprint Passed 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.03MB] [CPU: ▼143.97ms] Passed 4 tests
An overview of server-side resources used by Hatlas Vision - Improve your Travel Pictures Automatically
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 38.62 ▲16.54 |
Dashboard /wp-admin | 3.09 ▲0.04 | 45.32 ▼0.88 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 45.00 ▼1.74 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 87.09 ▼573.14 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 33.55 ▼0.12 |
Hatlas Travel /wp-admin/options-general.php?page=hatlas-travel | 3.04 | 29.71 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Hatlas Vision - Improve your Travel Pictures Automatically
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,924 ▲318 | 17.55 ▲2.04 | 54.66 ▲44.27 | 47.72 ▲2.95 |
Dashboard /wp-admin | 2,975 ▲41 | 5.86 ▼0.11 | 140.68 ▼10.51 | 102.35 ▼11.65 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 80.81 ▲13.56 | 87.60 ▲3.35 |
Add New Post /wp-admin/post-new.php | 1,679 ▼4 | 18.90 ▲0.12 | 418.07 ▲2.54 | 115.16 ▲9.60 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.01 ▼0.02 | 152.90 ▼1.83 | 127.18 ▲15.51 |
Hatlas Travel /wp-admin/options-general.php?page=hatlas-travel | 1,255 | 2.23 | 55.03 | 73.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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
No browser errors were detected
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: No descriptions were found for these screenshots #0, #0, #0, #0 in travel-pictures-monetization/assets to your readme.txt
travel-pictures-monetization/hatlas-travel.php 69% from 13 tests
This is the main PHP file of "Hatlas Vision - Improve your Travel Pictures Automatically" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 330 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("travel-pictures-monetization.php" instead of "hatlas-travel.php")
- 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected710 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 160 | 56 | 431 |
PHP | 2 | 37 | 21 | 189 |
CSS | 1 | 1 | 11 | 90 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 6 | 54.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 45.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected