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.03MB] [CPU: ▼4.24ms] Passed 4 tests
Analyzing server-side resources used by LateralPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.54 ▼5.19 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.32 ▼3.70 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 52.13 ▲1.37 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.15 ▼6.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.91 ▼1.13 |
Add New /wp-admin/post-new.php?post_type=lateralpress | 3.40 | 50.18 |
LateralPress /wp-admin/edit.php?post_type=lateralpress | 3.30 | 36.09 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by LateralPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲217 | 13.44 ▼0.81 | 10.94 ▲8.85 | 43.25 ▲0.47 |
Dashboard /wp-admin | 2,239 ▲59 | 5.57 ▼0.05 | 86.27 ▼7.48 | 74.81 ▲29.46 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 1.99 ▲0.02 | 38.11 ▼2.95 | 33.47 ▼6.45 |
Add New Post /wp-admin/post-new.php | 1,581 ▲53 | 23.31 ▲0.23 | 726.58 ▲103.69 | 52.05 ▲2.87 |
Media Library /wp-admin/upload.php | 1,447 ▲44 | 4.15 ▼0.02 | 97.73 ▼6.24 | 74.61 ▲27.17 |
Add New /wp-admin/post-new.php?post_type=lateralpress | 2,629 | 7.64 | 176.29 | 142.05 |
LateralPress /wp-admin/edit.php?post_type=lateralpress | 1,151 | 1.93 | 31.95 | 27.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lateralpress/index.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
3 plugin tags: timeline, scroll, lateral on-site scrolling
lateralpress/index.php 92% from 13 tests
Analyzing the main PHP file in "LateralPress" version 1.0.0
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("lateralpress.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin904 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 12 | 4 | 415 |
JavaScript | 4 | 63 | 127 | 294 |
PHP | 1 | 30 | 10 | 195 |
PHP code Passed 2 tests
A short review 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.11 |
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 | 12 | |
▷ Named functions | 12 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-20.png | 1.29KB | 0.60KB | ▼ 53.86% |
images/logo-16.png | 1.25KB | 0.53KB | ▼ 57.97% |
images/logo-24.png | 1.36KB | 0.61KB | ▼ 55.07% |
images/plumeria.png | 2.82KB | 1.54KB | ▼ 45.33% |