Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.61ms] Passed 4 tests
Server-side resources used by Osmig Signup Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.29 ▼3.52 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.22 ▼2.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.48 ▼7.08 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.43 ▼16.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.81 ▲2.94 |
Help /wp-admin/admin.php?page=osmig-help | 3.20 | 33.46 |
Osmig /wp-admin/admin.php?page=osmig | 3.20 | 33.08 |
Configuration /wp-admin/admin.php?page=osmig-configuration | 3.20 | 30.50 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_osmig_signups |
wp_osmig_fields |
New WordPress options |
---|
widget_recent-comments |
osmig_db_version |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Osmig Signup Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲129 | 13.27 ▼1.10 | 1.75 ▼0.24 | 37.91 ▼9.92 |
Dashboard /wp-admin | 2,271 ▲80 | 4.89 ▼0.21 | 99.91 ▼5.92 | 39.71 ▼6.36 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.00 ▼0.02 | 35.46 ▼6.94 | 32.04 ▼7.12 |
Add New Post /wp-admin/post-new.php | 1,564 ▲21 | 18.53 ▲0.31 | 635.04 ▲5.15 | 50.59 ▲1.22 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.22 ▲0.09 | 97.10 ▼1.80 | 44.03 ▼1.04 |
Help /wp-admin/admin.php?page=osmig-help | 796 | 2.06 | 22.98 | 25.12 |
Osmig /wp-admin/admin.php?page=osmig | 778 | 2.18 | 24.12 | 26.12 |
Configuration /wp-admin/admin.php?page=osmig-configuration | 890 | 2.03 | 25.54 | 30.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/osmig-signup-plugin/includes/assets.inc.php
- > /wp-content/plugins/osmig-signup-plugin/includes/widget.inc.php
- > /wp-content/plugins/osmig-signup-plugin/includes/shortcodes.inc.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/osmig-signup-plugin/osmig-signup-plugin.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: signup, flexible, input, form
osmig-signup-plugin/osmig-signup-plugin.php 92% from 13 tests
The entry point to "Osmig Signup Plugin" version 2.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected422 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 67 | 44 | 394 |
CSS | 1 | 0 | 0 | 28 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin