Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.34MB] [CPU: ▼4.71ms] Passed 4 tests
An overview of server-side resources used by Press75 Long Form Storybuilder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 37.29 ▼0.38 |
Dashboard /wp-admin | 3.71 ▲0.36 | 48.59 ▼9.40 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 44.96 ▲1.52 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 81.20 ▼10.56 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 36.80 ▲4.76 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 64 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_lfc-callout-module |
widget_lfc-content-three-column-module |
widget_lfc-content-module |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_lfc-nav-module |
widget_lfc-full-feature-module |
widget_lfc-header-module |
can_compress_scripts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Press75 Long Form Storybuilder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,618 ▼153 | 14.71 ▲0.42 | 1.16 ▼0.63 | 43.41 ▲2.90 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▼0.01 | 87.09 ▲1.51 | 38.85 ▼0.84 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.03 ▲0.08 | 33.80 ▼1.47 | 34.27 ▼2.90 |
Add New Post /wp-admin/post-new.php | 6,223 ▲4,697 | 26.08 ▲2.97 | 879.85 ▲192.08 | 53.14 ▼2.62 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.04 | 95.49 ▼0.65 | 41.09 ▼2.17 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 14 options in the database
- widget_lfc-nav-module
- widget_lfc-content-two-column-module
- widget_lfc-full-feature-module
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_lfc-section-heading-module
- widget_theysaidso_widget
- widget_lfc-content-module
- widget_lfc-content-three-column-module
- ...
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following items
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/press75-long-form-storybuilder/views/three_column_content.php
- > /wp-content/plugins/press75-long-form-storybuilder/views/nav.php
- > /wp-content/plugins/press75-long-form-storybuilder/views/callout.php
- > /wp-content/plugins/press75-long-form-storybuilder/views/section_heading.php
- > /wp-content/plugins/press75-long-form-storybuilder/views/two_column_content.php
- > /wp-content/plugins/press75-long-form-storybuilder/views/header.php
- > /wp-content/plugins/press75-long-form-storybuilder/views/content.php
- > /wp-content/plugins/press75-long-form-storybuilder/views/full_feature.php
- > /wp-content/plugins/press75-long-form-storybuilder/views/image_carousel.php
- 55× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: title in wp-content/plugins/press75-long-form-storybuilder/views/two_column_content.php on line 1
- > PHP Notice
Undefined variable: text_alignment in wp-content/plugins/press75-long-form-storybuilder/views/full_feature.php on line 2
- > PHP Notice
Undefined variable: menu_type in wp-content/plugins/press75-long-form-storybuilder/views/nav.php on line 6
- > PHP Notice
Undefined variable: image in wp-content/plugins/press75-long-form-storybuilder/views/nav.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/press75-long-form-storybuilder/inc/image-field.php:80
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/press75-long-form-storybuilder/widgets/widget-content.php:6
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/press75-long-form-storybuilder/views/image_carousel.php on line 4
- > PHP Notice
Undefined variable: second_column in wp-content/plugins/press75-long-form-storybuilder/views/two_column_content.php on line 9
- > PHP Notice
Undefined variable: first_column in wp-content/plugins/press75-long-form-storybuilder/views/three_column_content.php on line 6
- > PHP Notice
Undefined variable: widget_id in wp-content/plugins/press75-long-form-storybuilder/views/section_heading.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Create media-rich Long Form Stories), #2 (Add eye-catching full-width images with dynamic headings), #3 (Use the familiar Customizer interface to quickly and easily set up your stories), #4 (Utilize the same editors you've been using to create Posts and Pages)
press75-long-form-storybuilder/long-format-storybuilder.php 92% from 13 tests
"Press75 Long Form Storybuilder" version 0.1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("press75-long-form-storybuilder.php" instead of "long-format-storybuilder.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected6,236 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 579 | 121 | 2,511 |
PHP | 26 | 395 | 594 | 1,855 |
JavaScript | 8 | 257 | 266 | 957 |
SVG | 13 | 4 | 13 | 913 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.47 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 6 | 7.89% |
▷ Public methods | 76 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/step02.png | 54.82KB | 21.24KB | ▼ 61.25% |
assets/images/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |
assets/images/step01.png | 13.79KB | 6.76KB | ▼ 50.96% |
assets/images/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |
assets/images/step03.png | 21.13KB | 10.07KB | ▼ 52.35% |