Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▲1.63ms] Passed 4 tests
A check of server-side resources used by Storyform
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 41.23 ▲0.53 |
Dashboard /wp-admin | 3.85 ▲0.55 | 50.89 ▲3.08 |
Posts /wp-admin/edit.php | 3.90 ▲0.55 | 52.29 ▼3.18 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.51 | 101.21 ▲8.18 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 42.19 ▲6.10 |
Add new /wp-admin/admin.php?page=storyform-editor | 3.71 | 40.10 |
Settings /wp-admin/admin.php?page=storyform-settings | 3.68 | 38.86 |
Publish post /wp-admin/admin.php?page=storyform-publish-post | 3.36 | 20.73 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
storyform_version |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
storyform_site_registered |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Storyform
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲109 | 13.58 ▼0.72 | 1.70 ▼0.89 | 37.68 ▼12.05 |
Dashboard /wp-admin | 2,264 ▲76 | 5.85 ▼0.00 | 99.59 ▼9.25 | 38.73 ▼7.67 |
Posts /wp-admin/edit.php | 2,144 ▲58 | 2.01 ▲0.01 | 40.85 ▲4.44 | 34.11 ▼8.00 |
Add New Post /wp-admin/post-new.php | 6,255 ▲4,722 | 25.91 ▲2.53 | 866.07 ▲191.64 | 67.66 ▲15.29 |
Media Library /wp-admin/upload.php | 1,448 ▲63 | 4.26 ▼0.04 | 99.46 ▼13.29 | 47.36 ▲0.64 |
Add new /wp-admin/admin.php?page=storyform-editor | 1,001 | 3.56 | 43.93 | 19.73 |
Settings /wp-admin/admin.php?page=storyform-settings | 1,801 | 5.07 | 81.55 | 47.05 |
Publish post /wp-admin/admin.php?page=storyform-publish-post | 9 | 0.44 | 0.07 | 2.15 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- storyform_site_registered
- storyform_version
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=storyform-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=storyform-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/storyform/theme/single-storyform.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/storyform/media/storyform-media.php:24
- > PHP Fatal error
Uncaught Error: Class 'Storyform_Options' not found in wp-content/plugins/storyform/theme/navbar.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/storyform/media/storyform-media.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/storyform/theme/comments.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #2, #3 in storyform/assets to your readme.txt
storyform/storyform.php Passed 13 tests
The main PHP script in "Storyform" version 0.6.14 is automatically included on every request by WordPress
87 characters long description:
Plugin to enable Storyform on select posts. Works with both SEO and non-SEO permalinks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin4,953 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 549 | 609 | 2,471 |
JavaScript | 3 | 372 | 788 | 2,273 |
CSS | 3 | 31 | 1 | 183 |
PO File | 1 | 4 | 6 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 36.57 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 128 | |
▷ Static methods | 19 | 14.84% |
▷ Public methods | 120 | 93.75% |
▷ Protected methods | 8 | 6.25% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 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
No PNG images were found in this plugin