Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.42ms] Passed 4 tests
An overview of server-side resources used by GeniiPress Landing Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.24 ▼0.64 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.87 ▼4.41 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.18 ▼7.43 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.44 ▼21.20 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.67 ▼0.53 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=gp_lp_landing_pages_ | 3.25 | 40.62 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=gp_lp_landing_pages_ | 3.26 | 35.56 |
All Items /wp-admin/edit.php?post_type=gp_lp_landing_pages_ | 3.31 | 38.22 |
Add New /wp-admin/post-new.php?post_type=gp_lp_landing_pages_ | 5.84 | 77.26 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
category_children |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by GeniiPress Landing Pages
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲92 | 13.65 ▼0.65 | 1.72 ▼0.34 | 42.66 ▼3.36 |
Dashboard /wp-admin | 2,253 ▲50 | 5.83 ▼0.04 | 94.49 ▼23.36 | 40.45 ▼6.65 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 1.99 ▼0.07 | 34.55 ▼2.55 | 35.31 ▼2.65 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 23.42 ▲5.86 | 620.91 ▼13.23 | 50.01 ▼2.08 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.27 ▲0.00 | 102.86 ▲3.20 | 44.74 ▼0.47 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=gp_lp_landing_pages_ | 1,490 | 2.15 | 29.19 | 37.72 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=gp_lp_landing_pages_ | 1,354 | 2.15 | 27.33 | 30.68 |
All Items /wp-admin/edit.php?post_type=gp_lp_landing_pages_ | 1,176 | 1.93 | 30.67 | 34.30 |
Add New /wp-admin/post-new.php?post_type=gp_lp_landing_pages_ | 1,297 | 15.65 | 287.23 | 11.92 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- category_children
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=gp_lp_landing_pages_
- > Network (severe)
index.php/wp-json/wp/v2/gp_lp_landing_pages_cpt/11?context=edit&_locale=user - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: landing page, landing page custom post type, landing pages, landing page cpt
geniipress-landing-pages/geniipress-landing-pages.php Passed 13 tests
The main file in "GeniiPress Landing Pages" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
71 characters long description:
Creates a Custom Post Type for "Landing Pages" with simple URL rewrite.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin65 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 2 | 20 | 65 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.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
4 PNG files occupy 0.14MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 72.65KB | 31.32KB | ▼ 56.88% |
assets/banner-772x250.png | 46.61KB | 18.91KB | ▼ 59.44% |
assets/icon-128x128.png | 8.18KB | 4.13KB | ▼ 49.51% |
assets/icon-256x256.png | 17.73KB | 7.33KB | ▼ 58.69% |