Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼1.69ms] Passed 4 tests
Analyzing server-side resources used by Landing pages and Domain aliases for Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.30 ▼2.37 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.37 ▲0.23 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.31 ▼1.71 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 87.08 ▼2.90 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.32 ▲3.72 |
Landing pages and Aliases /wp-admin/options-general.php?page=wordpress_landing_pages | 3.31 | 32.87 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Landing pages and Domain aliases for Wordpress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.17 ▼0.85 | 1.57 ▼0.05 | 37.32 ▼1.41 |
Dashboard /wp-admin | 2,213 ▲31 | 4.82 ▼0.11 | 101.02 ▼5.61 | 36.59 ▼3.33 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.15 | 36.79 ▲1.69 | 33.23 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.26 ▲0.11 | 609.45 ▼21.47 | 44.89 ▼13.95 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▼0.02 | 97.54 ▼6.42 | 44.01 ▼0.22 |
Landing pages and Aliases /wp-admin/options-general.php?page=wordpress_landing_pages | 1,139 | 2.07 | 27.39 | 36.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/landing-pages-and-domain-aliases/wordpress-landing-pages.php
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
- > GET request to /wp-admin/options-general.php?page=wordpress_landing_pages
- > Network (severe)
https://www.paypalobjects.com/en_NO/i/scr/pixel.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
landing-pages-and-domain-aliases/wordpress-landing-pages.php 85% from 13 tests
The main PHP file in "Landing pages and Domain aliases for Wordpress" ver. 0.8 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("landing-pages-and-domain-aliases.php" instead of "wordpress-landing-pages.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 185 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
Good job! No executable or dangerous file extensions detected551 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 244 | 52 | 551 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 119.00 |
▷ Minimum class complexity | 119.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 9.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 84.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 | 12 | |
▷ Static methods | 11 | 91.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin