Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼4.48ms] Passed 4 tests
Server-side resources used by Pronamic Domain Mapping
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 40.89 ▼1.26 |
Dashboard /wp-admin | 3.48 ▲0.18 | 52.80 ▲0.08 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 48.25 ▼4.20 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 86.55 ▼12.53 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 39.06 ▲8.15 |
Domain Name Pages /wp-admin/edit.php?post_type=pronamic_domain_page | 3.45 | 40.18 |
Domain Names /wp-admin/edit.php?post_type=pronamic_domain_page&page=pronamic_domain_mapping_names | 3.38 | 37.87 |
Add New /wp-admin/post-new.php?post_type=pronamic_domain_page | 6.14 | 87.74 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 135 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pronamic_domain_posts |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
pronamic_domain_mapping_db_version |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Pronamic Domain Mapping: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲88 | 13.17 ▼1.21 | 4.57 ▲2.27 | 43.10 ▼1.19 |
Dashboard /wp-admin | 2,249 ▲46 | 5.87 ▲1.01 | 97.34 ▼12.76 | 36.24 ▼3.55 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.02 ▼0.03 | 35.56 ▼2.84 | 33.02 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,571 ▲39 | 23.41 ▲0.26 | 644.34 ▼27.53 | 60.37 ▲1.43 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.24 ▲0.05 | 102.90 ▼6.57 | 41.61 ▼3.56 |
Domain Name Pages /wp-admin/edit.php?post_type=pronamic_domain_page | 1,170 | 1.94 | 31.34 | 31.54 |
Domain Names /wp-admin/edit.php?post_type=pronamic_domain_page&page=pronamic_domain_mapping_names | 820 | 2.03 | 25.19 | 27.42 |
Add New /wp-admin/post-new.php?post_type=pronamic_domain_page | 1,599 | 16.80 | 823.91 | 40.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_pronamic_domain_posts
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- pronamic_domain_mapping_db_version
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 107× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installer\\LibraryInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/Installer.php:14
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/pronamic-domain-mapping/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php:4
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: domain, dns, landingpage, page, landingspage...
pronamic-domain-mapping/pronamic-domain-mapping.php 92% from 13 tests
"Pronamic Domain Mapping" version 2.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- 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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin10,666 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 5,907 |
PHP | 121 | 678 | 1,128 | 3,205 |
YAML | 1 | 258 | 0 | 1,469 |
PO File | 1 | 76 | 135 | 85 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 107 | |
▷ Abstract classes | 1 | 0.93% |
▷ Concrete classes | 106 | 99.07% |
▷ Final classes | 0 | 0.00% |
Methods | 162 | |
▷ Static methods | 19 | 11.73% |
▷ Public methods | 118 | 72.84% |
▷ Protected methods | 34 | 20.99% |
▷ Private methods | 10 | 6.17% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin