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
Installer ran successfully
Server metrics [RAM: ▲0.76MB] [CPU: ▼3.46ms] Passed 4 tests
A check of server-side resources used by Simple Long Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.22 ▲0.76 | 43.46 ▲2.64 |
Dashboard /wp-admin | 4.13 ▲0.78 | 57.24 ▼10.03 |
Posts /wp-admin/edit.php | 4.18 ▲0.82 | 54.41 ▼4.22 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.76 | 95.16 ▼2.24 |
Media Library /wp-admin/upload.php | 3.99 ▲0.76 | 40.51 ▲4.30 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=longform | 3.99 | 38.84 |
Options /wp-admin/edit.php?post_type=longform&page=simplelongform-options | 3.98 | 67.05 |
Add New /wp-admin/post-new.php?post_type=longform | 4.37 | 59.20 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=longform | 3.99 | 52.81 |
Longforms /wp-admin/edit.php?post_type=longform | 4.14 | 51.72 |
Server storage [IO: ▲11.69MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 159 new files
Database: no new tables, 22 new options
New WordPress options |
---|
archiveslist |
addcpthome |
can_compress_scripts |
theysaidso_admin_options |
category_children |
slf_linkedin |
db_upgraded |
addcptsearch |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Long Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 14.39 ▲0.04 | 2.01 ▼0.28 | 41.77 ▼3.24 |
Dashboard /wp-admin | 2,296 ▲122 | 5.88 ▲0.26 | 87.87 ▼20.44 | 39.23 ▼15.33 |
Posts /wp-admin/edit.php | 2,164 ▲64 | 2.32 ▲0.35 | 39.03 ▼3.08 | 29.90 ▼7.75 |
Add New Post /wp-admin/post-new.php | 1,732 ▲204 | 22.19 ▼0.82 | 670.64 ▼8.09 | 34.23 ▼24.16 |
Media Library /wp-admin/upload.php | 1,462 ▲62 | 4.49 ▲0.25 | 102.22 ▼16.09 | 41.36 ▼2.55 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=longform | 1,386 | 2.07 | 34.14 | 37.57 |
Options /wp-admin/edit.php?post_type=longform&page=simplelongform-options | 1,468 | 3.36 | 64.62 | 83.59 |
Add New /wp-admin/post-new.php?post_type=longform | 7,119 | 14.67 | 535.57 | 125.49 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=longform | 1,522 | 2.18 | 38.00 | 37.92 |
Longforms /wp-admin/edit.php?post_type=longform | 1,390 | 3.61 | 57.48 | 38.34 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 22 options
- widget_recent-comments
- metadata
- category_children
- widget_slf_widget
- can_compress_scripts
- widget_recent-posts
- slf_linkedin
- archiveslist
- ...
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 19× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/simple-long-form/templates/slf_header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-long-form/templates/slf.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-long-form/inc/slf-meta-box.php:5
- > PHP Notice
Undefined variable: bar_sup in wp-content/plugins/simple-long-form/templates/slf_intranav.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-long-form/inc/slf-duplicate.php:42
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-long-form/inc/slf-widget.php:2
- > PHP Notice
Undefined variable: burger_style in wp-content/plugins/simple-long-form/templates/slf_intranav.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/simple-long-form/templates/slf_archives.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/simple-long-form/templates/comments.php:12
- > PHP Notice
Undefined variable: bar_title in wp-content/plugins/simple-long-form/templates/slf_intranav.php on line 24
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=longform&page=simplelongform-options
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=longform&page=simplelongform-options 174:74 Uncaught SyntaxError: Unexpected end of input
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 75% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Add a description for screenshot #6 in simple-long-form/assets to your readme.txt
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== simple-long-form ===
) - Screenshots: Screenshot #4 (/tags/4.3/screenshot-5.jpg`) image not found
simple-long-form/simple-long-form.php 92% from 13 tests
The entry point to "Simple Long Form" version 2.2.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin46,536 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 26 | 4,208 | 287 | 12,408 |
JavaScript | 27 | 1,078 | 432 | 9,416 |
SVG | 3 | 0 | 12 | 8,954 |
Sass | 18 | 505 | 34 | 4,649 |
LESS | 18 | 502 | 55 | 4,607 |
PHP | 15 | 374 | 112 | 3,322 |
PO File | 6 | 2,064 | 3,370 | 3,180 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 79 | |
▷ Named functions | 79 | 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
3 PNG files occupy 0.25MB with 0.11MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/images/btb.png | 30.87KB | 30.34KB | ▼ 1.71% |
inc/images/sawi.png | 85.73KB | 27.32KB | ▼ 68.13% |
inc/images/utw.png | 134.57KB | 42.85KB | ▼ 68.16% |