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
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼4.20ms] Passed 4 tests
This is a short check of server-side resources used by Ascendoor Metadata Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.58 ▼5.78 |
Dashboard /wp-admin | 3.53 ▲0.23 | 44.27 ▼3.26 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 53.74 ▲6.24 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 89.31 ▼7.83 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 36.44 ▲0.06 |
Ascendoor Metadata Manager /wp-admin/options-general.php?page=ascendoor_metadata_manager | 3.42 | 29.94 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ascendoor Metadata Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.52 ▼0.91 | 1.65 ▼0.14 | 39.04 ▼8.48 |
Dashboard /wp-admin | 2,217 ▲29 | 5.85 ▲0.97 | 110.06 ▲10.61 | 42.28 ▲1.73 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.02 ▲0.02 | 41.54 ▲6.82 | 35.89 ▲4.01 |
Add New Post /wp-admin/post-new.php | 6,545 ▲5,012 | 20.33 ▼2.99 | 921.37 ▲242.70 | 56.50 ▲1.25 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.36 ▲0.06 | 96.21 ▼5.21 | 41.48 ▼1.95 |
Ascendoor Metadata Manager /wp-admin/options-general.php?page=ascendoor_metadata_manager | 868 | 2.06 | 27.71 | 28.35 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: meta_data in wp-content/plugins/ascendoor-metadata-manager/admin/partials/ascendoor-metadata-manager-admin.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ascendoor-metadata-manager/admin/partials/ascendoor-metadata-manager-admin.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ascendoor-metadata-manager/admin/partials/ascendoor-metadata-manager-admin.php:14
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
ascendoor-metadata-manager/ascendoor-metadata-manager.php Passed 13 tests
The primary PHP file in "Ascendoor Metadata Manager" version 1.0.0 is used by WordPress to initiate all plugin functionality
58 characters long description:
View and manage posts, terms, users and comments metadata.
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
Good job! No executable or dangerous file extensions detected1,523 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 247 | 644 | 1,180 |
JavaScript | 1 | 23 | 0 | 188 |
CSS | 1 | 4 | 0 | 155 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 17.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 55 | |
▷ Static methods | 7 | 12.73% |
▷ Public methods | 42 | 76.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 23.64% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin