Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/3dprint-lite/includes/3dprint-lite-functions.php+1060
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.50MB] [CPU: ▼4.25ms] Passed 4 tests
An overview of server-side resources used by 3DPrint Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 46.79 ▲1.91 |
Dashboard /wp-admin | 3.83 ▲0.49 | 52.90 ▼9.44 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 57.60 ▲9.76 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.64 | 85.77 ▼19.21 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 42.44 ▲10.92 |
File Manager /wp-admin/admin.php?page=p3dlite_file_manager | 3.70 | 41.49 |
Infills /wp-admin/admin.php?page=p3dlite_infills | 3.80 | 44.95 |
Price Requests /wp-admin/admin.php?page=p3dlite_price_requests | 3.81 | 50.86 |
Settings /wp-admin/admin.php?page=p3dlite_settings | 3.71 | 46.92 |
Email Templates /wp-admin/admin.php?page=p3dlite_email_templates | 3.84 | 44.24 |
Printers /wp-admin/admin.php?page=p3dlite_printers | 3.80 | 52.64 |
3DPrint Lite /wp-admin/admin.php?page=3dprint-lite | 3.71 | 46.89 |
Coatings /wp-admin/admin.php?page=p3dlite_coatings | 3.80 | 46.93 |
Materials /wp-admin/admin.php?page=p3dlite_materials | 3.80 | 46.95 |
Post-Processings /wp-admin/admin.php?page=p3dlite_postprocessings | 3.70 | 41.71 |
Server storage [IO: ▲2.90MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 207 new files
Database: 5 new tables, 9 new options
New tables |
---|
wp_p3dlite_infills |
wp_p3dlite_printers |
wp_p3dlite_price_requests |
wp_p3dlite_materials |
wp_p3dlite_coatings |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
p3dlite_version |
p3dlite_settings |
can_compress_scripts |
p3dlite_email_templates |
Browser metrics Passed 4 tests
3DPrint Lite: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,052 ▲290 | 15.39 ▲1.05 | 45.61 ▲43.95 | 37.44 ▼5.99 |
Dashboard /wp-admin | 2,258 ▲80 | 5.69 ▲0.00 | 96.23 ▼8.63 | 44.26 ▲5.44 |
Posts /wp-admin/edit.php | 2,160 ▲60 | 2.03 ▲0.02 | 53.24 ▲14.19 | 36.76 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 23.27 ▲0.15 | 687.25 ▲9.64 | 53.51 ▼0.63 |
Media Library /wp-admin/upload.php | 1,457 ▲63 | 4.14 ▼0.14 | 97.40 ▲0.89 | 41.40 ▼4.09 |
File Manager /wp-admin/admin.php?page=p3dlite_file_manager | 883 | 2.07 | 29.60 | 25.94 |
Infills /wp-admin/admin.php?page=p3dlite_infills | 1,835 | 2.28 | 35.54 | 27.47 |
Price Requests /wp-admin/admin.php?page=p3dlite_price_requests | 1,313 | 2.12 | 31.92 | 31.25 |
Settings /wp-admin/admin.php?page=p3dlite_settings | 3,174 | 3.71 | 88.20 | 73.07 |
Email Templates /wp-admin/admin.php?page=p3dlite_email_templates | 2,023 | 8.71 | 187.15 | 141.44 |
Printers /wp-admin/admin.php?page=p3dlite_printers | 1,222 | 2.12 | 30.90 | 25.62 |
3DPrint Lite /wp-admin/admin.php?page=3dprint-lite | 3,172 | 3.52 | 89.43 | 44.07 |
Coatings /wp-admin/admin.php?page=p3dlite_coatings | 1,154 | 2.15 | 29.31 | 24.47 |
Materials /wp-admin/admin.php?page=p3dlite_materials | 1,276 | 2.14 | 29.83 | 26.33 |
Post-Processings /wp-admin/admin.php?page=p3dlite_postprocessings | 886 | 2.12 | 27.24 | 24.97 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=3dprint-lite
- > Network (severe)
wp-content/plugins/3dprint-lite/images/ajax-loader-small.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
7 plugin tags: 3dprint, 3d printing, printer, 3d, printing...
3dprint-lite/3dprint-lite.php Passed 13 tests
The main PHP script in "3DPrint Lite" version 2.0.3.5 is automatically included on every request by WordPress
42 characters long description:
A plugin for selling 3D printing services.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
These items require your attention
- For security reasons, never distribute binary or executable files with your plugin
- .xap - Silverlight Application Package in Microsoft Silverlight
- ☣ wp-content/plugins/3dprint-lite/includes/ext/plupload/Moxie.xap
- .xap - Silverlight Application Package in Microsoft Silverlight
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 94 | 7,085 | 6,494 | 19,805 |
PHP | 29 | 1,335 | 1,881 | 4,561 |
CSS | 30 | 444 | 243 | 2,599 |
Markdown | 2 | 19 | 0 | 56 |
SVG | 2 | 0 | 0 | 36 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.70 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 110 | |
▷ Static methods | 25 | 22.73% |
▷ Public methods | 110 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 47 | |
▷ Named functions | 46 | 97.87% |
▷ Anonymous functions | 1 | 2.13% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
25 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/ext/easyaspie/assets/images/arrow.png | 1.00KB | 0.20KB | ▼ 80.56% |
includes/ext/jquery-ui/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
includes/ext/plupload/jquery.plupload.queue/img/transp50.png | 0.39KB | 0.11KB | ▼ 72.18% |
includes/ext/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |