Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼0.66ms] Passed 4 tests
Analyzing server-side resources used by Auto Embed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 46.58 ▲6.15 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.67 ▲0.89 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.62 ▲0.29 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 92.09 ▼6.78 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 37.97 ▲2.97 |
Auto Embed /wp-admin/options-general.php?page=aspiesoft-auto-embed | 3.38 | 39.57 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Auto Embed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲185 | 13.76 ▼0.54 | 11.18 ▲9.44 | 40.12 ▼6.29 |
Dashboard /wp-admin | 2,207 ▲22 | 4.81 ▼0.08 | 139.81 ▲34.79 | 40.17 ▼3.79 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▼0.00 | 39.08 ▼0.07 | 35.33 ▼1.66 |
Add New Post /wp-admin/post-new.php | 1,517 ▼27 | 17.80 ▼0.39 | 653.71 ▲55.77 | 52.52 ▼1.88 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.22 ▼0.06 | 96.58 ▼3.88 | 42.21 ▼0.32 |
Auto Embed /wp-admin/options-general.php?page=aspiesoft-auto-embed | 1,258 | 2.20 | 67.24 | 38.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=aspiesoft-auto-embed
- > Notice in wp-content/plugins/aspiesoft-auto-embed/templates/admin.php+127
Undefined index: LOCAL_ADDR
- > GET request to /wp-admin/options-general.php?page=aspiesoft-auto-embed
- > Notice in wp-content/plugins/aspiesoft-auto-embed/templates/admin.php+127
Undefined index: LOCAL_PORT
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 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
8 plugin tags: dynamic, css, embed, auto, simple...
aspiesoft-auto-embed/aspiesoft-auto-embed.php Passed 13 tests
Analyzing the main PHP file in "Auto Embed" version 1.5.8
84 characters long description:
Easily Embed Dynamic Lazy Loading Youtube Videos And More Simply By Pasting The Url.
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
No dangerous file extensions were detected2,353 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 244 | 87 | 1,137 |
PHP | 8 | 235 | 110 | 861 |
CSS | 4 | 22 | 6 | 355 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 22.29 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 12 | 24.00% |
▷ Public methods | 42 | 84.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 16.00% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.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 were not PNG files found in your plugin