Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.11ms] Passed 4 tests
A check of server-side resources used by Memberlite Shortcodes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.68 ▼8.06 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.87 ▼5.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.73 ▼4.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.37 ▼14.93 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.94 ▼1.86 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Memberlite Shortcodes: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲39 | 14.57 ▲0.23 | 1.81 ▼0.26 | 42.07 ▼0.35 |
Dashboard /wp-admin | 2,198 ▲18 | 5.59 ▼0.02 | 87.23 ▼13.83 | 39.39 ▼11.68 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.96 ▼0.06 | 38.98 ▲1.09 | 33.97 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.24 ▲0.02 | 675.05 ▼33.67 | 63.18 ▼6.18 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▼0.01 | 99.63 ▼10.97 | 42.54 ▼1.14 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/banners.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/signup.php:115
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/tabs.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/memberlite-shortcodes/memberlite-shortcodes.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/messages.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/columns.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/font-awesome.php:64
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/subpagelist.php:259
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/accordion.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/memberlite-shortcodes/shortcodes/buttons.php:51
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Demo of the Recent Posts shortcode [memberlite_recent_posts] with featured images, excerpts, and a three-column layout.), #2 (Demo of the [memberlite_subpagelist] shortcode in a column layout and demo of the [fa] icons.), #3 (Demo of the [memberlite_signup] shortcode for a Paid Memberships Pro membership level in a two-column layout using the [memberlite_banner] with the "body" background.)
memberlite-shortcodes/memberlite-shortcodes.php Passed 13 tests
The entry point to "Memberlite Shortcodes" version 1.3.9 is a PHP file that has certain tags in its header comment area
82 characters long description:
Shortcodes designed to work with the Memberlite Theme and Memberlite Child Themes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,107 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 114 | 152 | 772 |
CSS | 3 | 10 | 19 | 269 |
JavaScript | 2 | 8 | 9 | 41 |
PO File | 1 | 3 | 8 | 25 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin