Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.92ms] Passed 4 tests
Analyzing server-side resources used by LS oEmbed support for Scratch Mit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.00 ▼0.63 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.33 ▼8.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.66 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.10 ▼13.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.57 ▼0.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by LS oEmbed support for Scratch Mit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.30 ▼1.38 | 5.58 ▲3.78 | 43.65 ▼4.67 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▼0.08 | 98.22 ▲0.56 | 37.13 ▼10.87 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▼0.03 | 34.47 ▼7.04 | 32.85 ▼4.42 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 22.88 ▲4.67 | 594.38 ▼31.53 | 56.98 ▼2.28 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.21 ▼0.01 | 96.04 ▼4.21 | 41.77 ▼3.41 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ls-oembed-support-for-scratch-mit/scratchmit.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI found ("")
ls-oembed-support-for-scratch-mit/scratchmit.php 77% from 13 tests
The primary PHP file in "LS oEmbed support for Scratch Mit" version 2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ls-oembed-support-for-scratch-mit.php" instead of "scratchmit.php")
- Text Domain: The text domain should only use lowercase characters and dashes
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "WordPress 4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin67 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 7 | 12 | 42 |
PHP | 1 | 7 | 19 | 25 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin