Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.14ms] Passed 4 tests
Server-side resources used by Laravel-Paste-Embed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.94 ▼2.83 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.64 ▼5.23 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.46 ▼2.81 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.96 ▲6.08 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.95 ▼1.70 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Laravel-Paste-Embed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.35 ▼0.94 | 1.56 ▼0.54 | 39.94 ▼7.31 |
Dashboard /wp-admin | 2,206 ▲27 | 4.84 ▼1.04 | 106.34 ▲5.45 | 37.53 ▼3.02 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.01 | 41.70 ▲0.88 | 35.42 ▼1.92 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.04 ▼0.33 | 667.37 ▼46.96 | 58.77 ▲5.40 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.25 ▼0.05 | 94.70 ▼22.46 | 43.47 ▼7.17 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/laravel-paste-embed/laravel-paste-embed.php:83
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/laravel-paste-embed/trunk/laravel-paste-embed.php:83
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: paste, laravel, laravelio, bin
laravel-paste-embed/laravel-paste-embed.php Passed 13 tests
"Laravel-Paste-Embed" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
77 characters long description:
A plugin to embed pages & snippets from laravel.io/bin into a wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin188 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 15 | 2 | 71 |
PHP | 1 | 25 | 46 | 68 |
JavaScript | 1 | 0 | 1 | 29 |
Markdown | 1 | 11 | 0 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 10 | |
▷ Named functions | 10 | 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