Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.80ms] Passed 4 tests
A check of server-side resources used by PostLay - Automatic Blog Post Layout Addon For Wordpress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 43.49 ▲1.94 |
Dashboard /wp-admin | 3.42 ▲0.07 | 43.29 ▼13.89 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 45.60 ▲0.42 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 90.90 ▼7.19 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.06 ▲1.46 |
Add New /wp-admin/post-new.php?post_type=ncmbp | 3.47 | 49.95 |
PostLay Settings /wp-admin/edit.php?post_type=ncmbp&page=ncmbp-settings-pages | 3.31 | 36.62 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=ncmbp | 3.33 | 36.80 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=ncmbp | 3.33 | 33.95 |
All Items /wp-admin/edit.php?post_type=ncmbp | 3.39 | 34.79 |
Server storage [IO: ▲1.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
category_children |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for PostLay - Automatic Blog Post Layout Addon For Wordpress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲78 | 13.28 ▼1.11 | 1.82 ▼0.10 | 54.51 ▲10.82 |
Dashboard /wp-admin | 2,241 ▲64 | 5.77 ▲0.15 | 87.64 ▲1.06 | 83.14 ▲41.40 |
Posts /wp-admin/edit.php | 2,166 ▲66 | 2.30 ▲0.18 | 41.52 ▲6.77 | 36.00 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,578 ▲52 | 23.21 ▲0.29 | 685.03 ▲18.26 | 34.25 ▼11.25 |
Media Library /wp-admin/upload.php | 1,458 ▲61 | 4.38 ▲0.16 | 101.43 ▲4.15 | 78.19 ▲35.99 |
Add New /wp-admin/post-new.php?post_type=ncmbp | 2,403 | 8.00 | 181.48 | 138.16 |
PostLay Settings /wp-admin/edit.php?post_type=ncmbp&page=ncmbp-settings-pages | 2,381 | 3.23 | 82.96 | 35.04 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=ncmbp | 1,521 | 2.05 | 32.81 | 34.80 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=ncmbp | 1,388 | 2.00 | 32.15 | 32.47 |
All Items /wp-admin/edit.php?post_type=ncmbp | 1,185 | 2.39 | 33.92 | 29.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- category_children
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/postlay-automatic-blog-post-layout-addon/inc/functions.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/postlay-automatic-blog-post-layout-addon/inc/functions.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/postlay-automatic-blog-post-layout-addon/inc/netroics-dynamic-style.php:221
- > PHP Fatal error
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 79% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid url: "#"
- Screenshots: These screenshots do not have images: #1 (Posts Settings), #2 (Back End), #3 (Front End)
postlay-automatic-blog-post-layout-addon/postlay-wp-blog-layout.php 69% from 13 tests
The main file in "PostLay - Automatic Blog Post Layout Addon For Wordpress" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 151 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("postlay-automatic-blog-post-layout-addon.php" instead of "postlay-wp-blog-layout.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "5.2")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin3,587 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 3 | 116 | 35 | 507 |
CSS | 3 | 80 | 8 | 386 |
JavaScript | 2 | 2 | 5 | 23 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 11 | |
▷ Named functions | 11 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.57MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 79.76KB | 38.18KB | ▼ 52.13% |
screenshot-2.png | 52.59KB | 26.80KB | ▼ 49.04% |
screenshot-1.png | 151.73KB | 43.24KB | ▼ 71.50% |
img/general-options-banner.png | 268.59KB | 113.93KB | ▼ 57.58% |
img/menu-icon.png | 12.57KB | 5.76KB | ▼ 54.16% |