Benchmarks
Plugin footprint 48% 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.01MB] [CPU: ▼7.78ms] Passed 4 tests
Analyzing server-side resources used by Multisite Landingpages
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.74 ▼4.20 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.40 ▼14.63 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.35 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.44 ▼11.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.84 ▲0.68 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
ruigehond011 |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Multisite Landingpages
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.27 ▼0.96 | 1.95 ▲0.08 | 42.12 ▼1.14 |
Dashboard /wp-admin | 2,206 ▲18 | 4.79 ▼1.10 | 105.28 ▼8.56 | 37.29 ▼6.39 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.01 | 39.93 ▲3.52 | 34.76 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.58 ▼5.58 | 669.86 ▲14.36 | 50.76 ▼12.55 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.27 ▲0.07 | 94.62 ▼4.69 | 43.07 ▲1.77 |
Uninstaller [IO: ▲0.05MB] [DB: ▲0.00MB] 25% 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
- The plugin did not uninstall gracefully
- > Error in wp-content/plugins/multisite-landingpages/multisite-landingpages.php+749
Uncaught Error: Call to undefined function wp_is_large_network() in wp-content/plugins/multisite-landingpages/multisite-landingpages.php:749
Stack trace:
#0 wp-content/plugins/multisite-landingpages/multisite-landingpages.php(785): ruigehond011->deactivate()
#1 wp-content/plugins/multisite-landingpages/multisite-landingpages.php(796): ruigehond011->network_uninstall()
#2 wp-includes/class-wp-hook.php(310): ruigehond011_uninstall()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/includes/plugin.php(1269): do_action()
#6 wp-admin/includes/plugin.php(960): uninstall_plugin() - Incomplete uninstall procedure, leaving 6 files (0.05MB) in the plugin directory
- (new file) sunrise-functions.php
- (new file) languages/multisite-landingpages.pot
- (new file) README.txt
- (new file) LICENSE
- (new file) multisite-landingpages.php
- (new file) sunrise.php
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- ruigehond011
- can_compress_scripts
- db_upgraded
- recovery_mode_email_last_sent
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to get property 'base_prefix' of non-object in wp-content/plugins/multisite-landingpages/sunrise-functions.php on line 31
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/multisite-landingpages/sunrise-functions.php:45
- > PHP Notice
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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: landing page, landingpages, domain, mapping, multisite
multisite-landingpages/multisite-landingpages.php Passed 13 tests
"Multisite Landingpages" version 1.2.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
130 characters long description:
Multisite version of ‘Each domain a page’. Assign the slug of a landing page you created to a domain you own for SEO purposes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected685 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 40 | 196 | 685 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 105.00 |
▷ Minimum class complexity | 105.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 5.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 86.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 13.64% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin