Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.35MB] [CPU: ▼17.73ms] Passed 4 tests
A check of server-side resources used by MakeStories (for Google Web Stories)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 32.32 ▼12.22 |
Dashboard /wp-admin | 3.64 ▲0.30 | 57.00 ▼9.55 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 59.60 ▲9.67 |
Add New Post /wp-admin/post-new.php | 3.52 ▼2.37 | 43.02 ▼58.78 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 43.19 ▲9.64 |
Settings /wp-admin/admin.php?page=ms_settings | 3.54 | 41.29 |
MakeStories /wp-admin/admin.php?page=makestories-editor | 3.56 | 41.19 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for MakeStories (for Google Web Stories)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,982 ▲236 | 14.01 ▼0.13 | 9.34 ▲7.59 | 42.36 ▲3.67 |
Dashboard /wp-admin | 2,264 ▲76 | 4.90 ▼0.99 | 105.19 ▼5.08 | 39.32 ▼4.07 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.01 ▼0.03 | 36.35 ▼3.94 | 35.48 ▼1.21 |
Add New Post /wp-admin/post-new.php | 6,221 ▲4,678 | 19.01 ▲0.75 | 912.02 ▲281.93 | 38.30 ▼12.62 |
Media Library /wp-admin/upload.php | 1,443 ▲55 | 4.22 ▲0.01 | 103.69 ▼2.37 | 45.37 ▲1.47 |
Settings /wp-admin/admin.php?page=ms_settings | 1,044 | 1.81 | 27.57 | 27.26 |
MakeStories /wp-admin/admin.php?page=makestories-editor | 2,530 | 36.35 | 1,008.17 | 71.78 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/makestories-helper/templates/ms-single-masonry-post.php
- > /wp-content/plugins/makestories-helper/templates/editor-head.php
- > /wp-content/plugins/makestories-helper/templates/listing-story-masonry.php
- > /wp-content/plugins/makestories-helper/ms-setting.php
- > /wp-content/plugins/makestories-helper/templates/editor-footer.php
- 38× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/makestories-helper/makestories.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/makestories-helper/shortcode.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/makestories-helper/basic-auth.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/makestories-helper/api/media.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/makestories-helper/slug-modal.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/makestories-helper/templates/ms-single-widget.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/makestories-helper/api/publish.php:2
- > PHP Notice
Undefined variable: permalink in wp-content/plugins/makestories-helper/templates/listing-story-masonry.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_reset_postdata() in wp-content/plugins/makestories-helper/templates/ms-post-by-category.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/makestories-helper/templates/editor.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: makestories, stories, amp, storytelling, web stories...
makestories-helper/makestories.php 85% from 13 tests
The main file in "MakeStories (for Google Web Stories)" v. 2.8.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("makestories-helper.php" instead of "makestories.php")
- Description: The description should be shorter than 140 characters (currently 177 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected6,777 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 927 | 90 | 2,713 |
PHP | 31 | 277 | 244 | 2,371 |
CSS | 4 | 227 | 60 | 1,234 |
Sass | 2 | 27 | 5 | 262 |
LESS | 1 | 11 | 5 | 152 |
SVG | 4 | 1 | 0 | 37 |
Ruby | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 76 | |
▷ Named functions | 75 | 98.68% |
▷ Anonymous functions | 1 | 1.32% |
Constants | 24 | |
▷ Global constants | 24 | 100.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
4 compressed PNG files occupy 0.75MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Slide.png | 382.59KB | 411.39KB | 0.00% |
assets/js/tiny-mce/img/quote.png | 0.58KB | 0.65KB | 0.00% |
assets/images/Slide.png | 382.59KB | 411.39KB | 0.00% |
assets/images/border3.png | 0.12KB | 0.15KB | 0.00% |