Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.75ms] Passed 4 tests
An overview of server-side resources used by OpenBadges.me Open Badges designer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.04 ▼1.31 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.94 ▼2.37 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.03 ▼2.48 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.68 ▼28.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.28 ▲1.82 |
Badge Designer /wp-admin/upload.php?page=db-menu-identifier | 3.18 | 32.98 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for OpenBadges.me Open Badges designer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼1.16 | 5.30 ▲3.51 | 43.95 ▲1.56 |
Dashboard /wp-admin | 2,210 ▲21 | 5.80 ▲0.89 | 116.48 ▲9.28 | 45.84 ▲0.67 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.03 ▲0.04 | 37.89 ▼3.25 | 34.99 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.17 ▲4.82 | 672.02 ▲28.77 | 64.88 ▲9.40 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.01 | 94.90 ▼15.54 | 43.43 ▲1.75 |
Badge Designer /wp-admin/upload.php?page=db-menu-identifier | 770 | 1.87 | 26.03 | 23.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/upload.php?page=db-menu-identifier
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
- > GET request to /wp-admin/upload.php?page=db-menu-identifier
- > Notice in wp-content/plugins/openbadgesme-open-badges-designer/badge_designer.php+44
Undefined index: targetImage
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/openbadgesme-open-badges-designer/badge_designer.php:29
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/upload.php?page=db-menu-identifier
- > Network (severe)
chrome-error://chromewebdata/ - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/upload.php?page=db-menu-identifier
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://www.openbadges.me/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 your attention:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
- Donate link: Please fix this invalid url: ""
openbadgesme-open-badges-designer/badge_designer.php 92% from 13 tests
The entry point to "OpenBadges.me Open Badges designer" version 2.0.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("openbadgesme-open-badges-designer.php" instead of "badge_designer.php")
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
Good job! No executable or dangerous file extensions detected67 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 40 | 67 |
PHP code Passed 2 tests
An short overview of 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.09 |
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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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