Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼320.05ms] Passed 4 tests
Server-side resources used by Osmig Signup Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 58.60 ▼10.60 |
Dashboard /wp-admin | 3.50 ▲0.09 | 37.37 ▼17.64 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 40.22 ▼56.49 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 99.47 ▼1,195.48 |
Media Library /wp-admin/upload.php | 3.38 ▲0.08 | 26.44 ▲2.87 |
Configuration /wp-admin/admin.php?page=osmig-configuration | 3.34 | 23.84 |
Help /wp-admin/admin.php?page=osmig-help | 3.34 | 23.81 |
Osmig /wp-admin/admin.php?page=osmig | 3.34 | 24.69 |
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, 1 new option
New tables |
---|
wp_osmig_signups |
wp_osmig_fields |
New WordPress options |
---|
osmig_db_version |
Browser metrics Passed 4 tests
Osmig Signup Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,879 ▲121 | 16.03 ▲0.25 | 6.42 ▲0.60 | 3.06 ▲0.44 |
Dashboard /wp-admin | 2,974 ▲116 | 6.25 ▲0.08 | 137.17 ▼1.06 | 180.09 ▲9.33 |
Posts /wp-admin/edit.php | 2,722 ▲31 | 3.25 ▲0.01 | 64.62 ▲2.20 | 201.00 ▲57.78 |
Add New Post /wp-admin/post-new.php | 1,789 ▲128 | 22.76 ▲6.90 | 429.32 ▼2.61 | 153.72 ▼24.44 |
Media Library /wp-admin/upload.php | 1,731 ▲36 | 5.56 ▲0.06 | 182.82 ▲28.81 | 205.90 ▼43.36 |
Configuration /wp-admin/admin.php?page=osmig-configuration | 1,136 | 2.50 | 59.36 | 175.29 |
Help /wp-admin/admin.php?page=osmig-help | 1,024 | 2.36 | 54.58 | 114.50 |
Osmig /wp-admin/admin.php?page=osmig | 1,000 | 2.38 | 53.81 | 99.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% 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 0% 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 take a closer look at the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/osmig-signup-plugin/includes/widget.inc.php
- > /wp-content/plugins/osmig-signup-plugin/includes/assets.inc.php
- > /wp-content/plugins/osmig-signup-plugin/includes/shortcodes.inc.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > 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 just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: input, flexible, signup, form
osmig-signup-plugin/osmig-signup-plugin.php 92% from 13 tests
The primary PHP file in "Osmig Signup Plugin" version 2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin422 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 brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin