Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.60MB] [CPU: ▼16.05ms] Passed 4 tests
Analyzing server-side resources used by Pixobe Cartography
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 41.53 ▲0.37 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.73 ▼0.32 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.81 ▼1.68 |
Add New Post /wp-admin/post-new.php | 3.31 ▼2.58 | 36.88 ▼62.55 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.28 ▲1.87 |
Add New /wp-admin/admin.php?page=pixobe_map_add | 3.26 | 30.93 |
All Maps /wp-admin/admin.php?page=pixobe-cartography | 3.26 | 32.00 |
Info /wp-admin/admin.php?page=pixobe_map_info | 3.26 | 32.82 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 6 new options
New tables |
---|
pixobe_cartography_maps |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Pixobe Cartography
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲198 | 14.82 ▲0.52 | 5.95 ▲4.40 | 38.40 ▼0.95 |
Dashboard /wp-admin | 2,235 ▲44 | 5.84 ▲0.97 | 112.19 ▲8.44 | 41.95 ▲1.13 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.99 ▲0.98 | 38.80 ▲3.63 | 31.59 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,699 ▲166 | 22.39 ▼0.85 | 661.14 ▼21.76 | 30.56 ▼29.91 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 5.16 ▲0.92 | 99.16 ▲0.24 | 41.86 ▼7.14 |
Add New /wp-admin/admin.php?page=pixobe_map_add | 1,330 | 3.35 | 32.27 | 52.86 |
All Maps /wp-admin/admin.php?page=pixobe-cartography | 922 | 2.79 | 30.86 | 37.54 |
Info /wp-admin/admin.php?page=pixobe_map_info | 1,008 | 2.78 | 31.32 | 48.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- pixobe_cartography_maps
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 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 0% from 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
Please take a closer look at the following
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/pixobe-cartography/includes/partials/admin_add_page.php
- > /wp-content/plugins/pixobe-cartography/includes/partials/admin_home_page.php
- > /wp-content/plugins/pixobe-cartography/includes/partials/admin_footer.php
- > /wp-content/plugins/pixobe-cartography/includes/partials/admin_info_page.php
- > /wp-content/plugins/pixobe-cartography/includes/db/Pixobe_Cartography_Maps.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/pixobe-cartography/includes/partials/admin_header.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/pixobe-cartography/includes/rest/Pixobe_Rest_Controller.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixobe_map_add
- > Deprecation (warning) in unknown
/wp-content/plugins/pixobe-cartography/public/build/admin.js?ver=1.0.0 7 Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixobe_map_info
- > Network (severe)
https://www.cartography.page/images/logos/cartography.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=pixobe-cartography
- > Network (severe)
wp-json/pixobe-cartography/v1/maps - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: A description for screenshot #6 is required in pixobe-cartography/assets to your readme.txt
pixobe-cartography/pixobe-cartography.php 92% from 13 tests
The principal PHP file in "Pixobe Cartography" v. 1.0.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 189 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin525 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 168 | 606 | 507 |
CSS | 1 | 0 | 0 | 15 |
JavaScript | 2 | 0 | 8 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 45 | |
▷ Static methods | 4 | 8.89% |
▷ Public methods | 41 | 91.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.89% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin