Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼0.15ms] Passed 4 tests
Server-side resources used by Each Domain a Page
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.96 ▼0.93 |
Dashboard /wp-admin | 3.43 ▲0.13 | 48.50 ▲0.90 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.02 ▲1.77 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.22 ▼2.33 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.65 ▲2.70 |
Each domain a page /wp-admin/admin.php?page=each-domain-a-page | 3.32 | 31.73 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- You have illegally modified 1 file (0.91KB) outside of "wp-content/plugins/each-domain-a-page/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
ruigehond007 |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Each Domain a Page
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.40 ▲0.11 | 1.79 ▲0.18 | 44.15 ▲5.81 |
Dashboard /wp-admin | 2,195 ▲15 | 5.55 ▼0.13 | 81.80 ▼5.56 | 37.41 ▼8.83 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.04 | 34.34 ▼2.71 | 33.09 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.16 ▼0.54 | 607.08 ▼74.04 | 48.59 ▼10.02 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.15 ▼0.08 | 96.24 ▼15.68 | 40.54 ▼6.57 |
Each domain a page /wp-admin/admin.php?page=each-domain-a-page | 898 | 2.00 | 21.81 | 31.08 |
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 detected upon uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- ruigehond007
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please describe screenshot #0 in each-domain-a-page/assets to your readme.txt
each-domain-a-page/each-domain-a-page.php Passed 13 tests
The main PHP file in "Each Domain a Page" ver. 1.6.2 adds more information about the plugin and also serves as the entry point for this plugin
112 characters long description:
Serves a specific landing page from WordPress depending on the domain used to access the WordPress installation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin641 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 174 | 549 |
PO File | 1 | 21 | 21 | 92 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 92.00 |
▷ Minimum class complexity | 92.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 25.00% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin