Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼16.61ms] Passed 4 tests
Server-side resources used by Stories for Ultimate Member
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 37.35 ▼1.74 |
Dashboard /wp-admin | 3.47 ▲0.16 | 50.20 ▲2.14 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.75 ▼0.78 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 81.51 ▼66.07 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.11 ▲4.05 |
All Stories /wp-admin/edit.php?post_type=um_story | 3.43 | 34.84 |
Add New /wp-admin/post-new.php?post_type=um_story | 3.52 | 46.56 |
Server storage [IO: ▲0.42MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
um_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Stories for Ultimate Member
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲141 | 13.60 ▼0.96 | 11.38 ▲9.56 | 36.22 ▼7.96 |
Dashboard /wp-admin | 2,225 ▲48 | 5.58 ▲0.04 | 93.85 ▼1.37 | 42.88 ▲1.43 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▲0.06 | 34.32 ▼4.49 | 36.96 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.13 ▲0.02 | 642.65 ▼159.59 | 55.88 ▼1.69 |
Media Library /wp-admin/upload.php | 1,418 ▲24 | 4.22 ▲0.03 | 94.29 ▼2.42 | 44.46 ▲0.53 |
All Stories /wp-admin/edit.php?post_type=um_story | 1,133 | 1.99 | 30.59 | 31.11 |
Add New /wp-admin/post-new.php?post_type=um_story | 2,457 | 7.71 | 162.87 | 62.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 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
- This plugin did not uninstall successfully, leaving 7 options in the database
- um_options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: image in wp-content/plugins/um-story-lite/templates/story/story-single.php on line 38
- > PHP Fatal error
Uncaught Error: Call to undefined function um_story_lite() in wp-content/plugins/um-story-lite/templates/story/list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/um-story-lite/templates/story/form.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/um-story-lite/um-story-lite.php:443
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/um-story-lite/templates/story/story-single.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function um_story_lite() in wp-content/plugins/um-story-lite/templates/story/story-entry.php:1
- > PHP Notice
Undefined variable: image in wp-content/plugins/um-story-lite/templates/story/story-single.php on line 9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: frontend community, ultimatemember stories, frontend posting ultimate member, ultimate member, ultimate member frontend...
um-story-lite/um-story-lite.php Passed 13 tests
The main PHP file in "Stories for Ultimate Member" ver. 1.0.2.2 adds more information about the plugin and also serves as the entry point for this plugin
82 characters long description:
Allows users to submit articles via the front end on Ultimate Member profile tabs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin4,562 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 282 | 272 | 2,677 |
CSS | 3 | 140 | 38 | 1,033 |
PHP | 8 | 144 | 486 | 782 |
Sass | 1 | 4 | 0 | 70 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 37 | |
▷ Static methods | 4 | 10.81% |
▷ Public methods | 36 | 97.30% |
▷ Protected methods | 1 | 2.70% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin