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: ▼1.02MB] [CPU: ▼174.63ms] Passed 4 tests
An overview of server-side resources used by Embed STL
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.58 ▼0.26 | 15.56 ▼19.67 |
Dashboard /wp-admin | 2.63 ▼0.43 | 15.71 ▼25.25 |
Posts /wp-admin/edit.php | 2.63 ▼0.48 | 16.26 ▼26.10 |
Add New Post /wp-admin/post-new.php | 2.63 ▼2.81 | 16.54 ▼619.45 |
Media Library /wp-admin/upload.php | 2.63 ▼0.38 | 13.59 ▼27.70 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Embed STL
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,699 ▲103 | 15.88 ▼0.13 | 10.19 ▲1.56 | 45.82 ▼0.08 |
Dashboard /wp-admin | 2,968 ▲38 | 5.89 ▼0.18 | 146.31 ▼8.80 | 102.11 ▼13.84 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.70 ▲0.01 | 66.65 ▼0.60 | 83.81 ▼5.33 |
Add New Post /wp-admin/post-new.php | 1,623 ▼49 | 17.38 ▼1.61 | 350.29 ▼19.64 | 124.90 ▲20.82 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▲0.03 | 154.13 ▲8.77 | 116.15 ▼4.98 |
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
- This plugin did not uninstall without warnings or errors
- > Notice in wp-includes/blocks.php+103
Undefined index: dependencies
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 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
3 plugin tags: 3d, block, stl
embed-stl/index.php 92% from 13 tests
Analyzing the main PHP file in "Embed STL" version 1.0.1
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("embed-stl.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin2,424 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 1,412 | 197 | 2,224 |
JSON | 1 | 0 | 0 | 80 |
PHP | 4 | 12 | 13 | 75 |
CSS | 1 | 7 | 0 | 31 |
Markdown | 1 | 3 | 0 | 13 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin