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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.83ms] Passed 4 tests
An overview of server-side resources used by Surbma | Premium WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.70 ▼5.66 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.42 ▼7.09 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.41 ▼0.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.70 ▼9.96 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.33 ▲0.44 |
Google Analytics /wp-admin/admin.php?page=surbma-premium-wp-google-analytics | 3.21 | 32.45 |
Premium WP /wp-admin/admin.php?page=surbma-premium-wp-menu | 3.23 | 34.31 |
Extra Content /wp-admin/admin.php?page=surbma-premium-wp-extra-fields | 3.21 | 34.02 |
Google Tag Manager /wp-admin/admin.php?page=surbma-premium-wp-google-tag-manager | 3.21 | 30.98 |
Extra Shortcodes /wp-admin/admin.php?page=surbma-premium-wp-shortcodes | 3.23 | 35.13 |
Social Integration /wp-admin/admin.php?page=surbma-premium-wp-social | 3.21 | 32.70 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Surbma | Premium WP: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲73 | 14.72 ▲0.16 | 1.80 ▼0.52 | 45.40 ▲1.68 |
Dashboard /wp-admin | 2,240 ▲60 | 5.61 ▼0.06 | 88.00 ▼1.95 | 39.36 ▼2.13 |
Posts /wp-admin/edit.php | 2,145 ▲42 | 2.04 ▲0.08 | 35.29 ▼0.10 | 30.40 ▼5.48 |
Add New Post /wp-admin/post-new.php | 1,567 ▲30 | 23.17 ▲4.98 | 671.16 ▲21.20 | 49.24 ▼12.53 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.20 ▲0.06 | 97.77 ▼0.47 | 43.67 ▲2.24 |
Google Analytics /wp-admin/admin.php?page=surbma-premium-wp-google-analytics | 1,059 | 2.00 | 25.14 | 54.27 |
Premium WP /wp-admin/admin.php?page=surbma-premium-wp-menu | 982 | 2.02 | 24.78 | 30.37 |
Extra Content /wp-admin/admin.php?page=surbma-premium-wp-extra-fields | 1,300 | 2.00 | 22.11 | 43.27 |
Google Tag Manager /wp-admin/admin.php?page=surbma-premium-wp-google-tag-manager | 1,054 | 1.99 | 22.34 | 31.92 |
Extra Shortcodes /wp-admin/admin.php?page=surbma-premium-wp-shortcodes | 3,042 | 2.00 | 26.75 | 49.52 |
Social Integration /wp-admin/admin.php?page=surbma-premium-wp-social | 1,175 | 2.00 | 24.62 | 32.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 27 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=surbma-premium-wp-social
- > Notice in wp-content/plugins/surbma-premium-wp/pages/social-page.php+143
Trying to access array offset on value of type bool
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
Please fix the following
- 25× 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 add_action() in wp-content/plugins/surbma-premium-wp/pages/social-page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/surbma-premium-wp/lib/admin.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/surbma-premium-wp/lib/shortcodes.php:3
- > PHP Warning
include_once(): Failed opening 'SURBMA_PREMIUM_WP_PLUGIN_DIR/pages/google-analytics-page.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/surbma-premium-wp/lib/admin.php on line 4
- > PHP Warning
include_once(): Failed opening 'SURBMA_PREMIUM_WP_PLUGIN_DIR/pages/start-page.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/surbma-premium-wp/lib/admin.php on line 3
- > PHP Warning
include_once(SURBMA_PREMIUM_WP_PLUGIN_DIR/pages/google-analytics-page.php): failed to open stream: No such file or directory in wp-content/plugins/surbma-premium-wp/lib/admin.php on line 4
- > PHP Warning
Use of undefined constant SURBMA_PREMIUM_WP_PLUGIN_DIR - assumed 'SURBMA_PREMIUM_WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/surbma-premium-wp/lib/admin.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/surbma-premium-wp/pages/google-tag-manager-page.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/surbma-premium-wp/lib/frontend.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/surbma-premium-wp/pages/extra-fields-page.php:6
- > 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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
surbma-premium-wp/surbma-premium-wp.php Passed 13 tests
Analyzing the main PHP file in "Surbma | Premium WP" version 8.3
45 characters long description:
Useful extensions for your WordPress website.
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 plugin1,934 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 156 | 35 | 1,779 |
PO File | 1 | 38 | 121 | 95 |
CSS | 2 | 4 | 0 | 49 |
SVG | 8 | 0 | 0 | 8 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 65 | |
▷ Named functions | 28 | 43.08% |
▷ Anonymous functions | 37 | 56.92% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin