Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼3.21ms] Passed 4 tests
Server-side resources used by azurecurve Points of Interest
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 50.03 ▲8.43 |
Dashboard /wp-admin | 3.53 ▲0.23 | 57.68 ▼2.00 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 51.74 ▼0.44 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 93.44 ▼12.30 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 39.83 ▲1.92 |
Points of Interest /wp-admin/edit.php?post_type=points-of-interest | 3.50 | 42.63 |
Add New /wp-admin/post-new.php?post_type=points-of-interest | 3.59 | 73.38 |
Options /wp-admin/edit.php?post_type=points-of-interest&page=points_of_interest_options | 3.43 | 39.07 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
azc_poi_options |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by azurecurve Points of Interest
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.34 ▼0.22 | 1.71 ▼0.15 | 42.50 ▼3.48 |
Dashboard /wp-admin | 2,244 ▲67 | 5.56 ▼0.01 | 87.37 ▼0.56 | 78.23 ▲37.36 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 1.95 ▼0.07 | 34.81 ▼0.68 | 35.01 ▲0.66 |
Add New Post /wp-admin/post-new.php | 1,569 ▲41 | 23.11 ▼0.02 | 701.62 ▼8.46 | 58.48 ▲4.47 |
Media Library /wp-admin/upload.php | 1,452 ▲55 | 4.14 ▼0.03 | 115.33 ▲5.62 | 74.83 ▲28.03 |
Points of Interest /wp-admin/edit.php?post_type=points-of-interest | 1,217 | 1.90 | 31.50 | 30.52 |
Add New /wp-admin/post-new.php?post_type=points-of-interest | 2,733 | 7.65 | 171.60 | 143.16 |
Options /wp-admin/edit.php?post_type=points-of-interest&page=points_of_interest_options | 919 | 1.99 | 24.62 | 26.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 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 50% from 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
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/azurecurve-points-of-interest/templates/single-point-of-interest.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-points-of-interest/azurecurve-points-of-interest.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/azurecurve-points-of-interest/templates/archive-points-of-interest.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: shortcode, pages, archives, custom post type, points of interest
azurecurve-points-of-interest/azurecurve-points-of-interest.php 85% from 13 tests
The main PHP file in "azurecurve Points of Interest" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: The text domain should only use lowercase characters and dashes
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
Success! There were no dangerous files found in this plugin1,081 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 149 | 59 | 1,061 |
CSS | 1 | 0 | 2 | 20 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 29 | |
▷ Named functions | 29 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/poi-16x16.png | 0.39KB | 0.40KB | 0.00% |
images/poi-32x32.png | 0.66KB | 0.67KB | 0.00% |