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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.17ms] Passed 4 tests
This is a short check of server-side resources used by GoEmbed - Javascript Application Embedded
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.89 ▼2.01 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.75 ▲0.06 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.46 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.32 ▼9.67 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.50 ▲8.04 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
GoEmbed - Javascript Application Embedded: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲52 | 14.36 ▼0.41 | 2.25 ▲0.17 | 43.72 ▼1.69 |
Dashboard /wp-admin | 2,243 ▲63 | 5.76 ▲0.13 | 97.61 ▲0.96 | 33.05 ▼10.71 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 2.04 ▲0.04 | 37.98 ▼5.33 | 29.86 ▼11.18 |
Add New Post /wp-admin/post-new.php | 6,424 ▲4,898 | 28.03 ▲4.85 | 958.05 ▲264.16 | 70.83 ▲2.09 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.32 ▲0.07 | 112.83 ▲5.82 | 40.54 ▼5.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/go-embed/define.php:5
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: build, react, integrated, javascript, vuejs
go-embed/go-embed.php 85% from 13 tests
The main PHP file in "GoEmbed - Javascript Application Embedded" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- 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 review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin30,164 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 29,670 |
PHP | 7 | 25 | 65 | 177 |
JavaScript | 8 | 12 | 19 | 156 |
CSS | 4 | 6 | 0 | 78 |
Markdown | 1 | 32 | 0 | 38 |
SVG | 2 | 0 | 1 | 25 |
HTML | 1 | 3 | 20 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
apps/my-app/public/logo512.png | 9.44KB | 10.35KB | 0.00% |
apps/my-app/public/logo192.png | 5.22KB | 5.57KB | 0.00% |