Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.24ms] Passed 4 tests
Server-side resources used by Dinatur
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.85 ▼4.82 |
Dashboard /wp-admin | 3.40 ▲0.10 | 48.14 ▲1.54 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 51.28 ▲1.98 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.10 ▼15.65 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.65 ▲2.33 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_dintextos |
wp_dinatur |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Dinatur
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,044 ▲309 | 13.87 ▼0.76 | 11.20 ▲9.11 | 35.15 ▼17.66 |
Dashboard /wp-admin | 2,255 ▲67 | 5.87 ▼0.02 | 102.70 ▲2.54 | 45.55 ▲0.05 |
Posts /wp-admin/edit.php | 2,141 ▲49 | 2.01 ▲0.01 | 37.93 ▼2.71 | 45.83 ▲11.38 |
Add New Post /wp-admin/post-new.php | 1,552 ▲17 | 22.88 ▼0.19 | 502.25 ▼97.42 | 36.62 ▼21.30 |
Media Library /wp-admin/upload.php | 1,437 ▲46 | 4.15 ▲0.04 | 97.95 ▼5.53 | 45.40 ▲1.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_dinatur
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/dinatur/Dinatur.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
2 plugin tags: multilingual, ajax
dinatur/Dinatur.php 92% from 13 tests
The main file in "Dinatur" v. 1.18 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dinatur.php" instead of "Dinatur.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,479 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 55 | 90 | 568 |
CSS | 4 | 50 | 22 | 543 |
JavaScript | 4 | 32 | 33 | 368 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icono/Calendario.png | 0.83KB | 0.60KB | ▼ 28.12% |
icono/Lupa.png | 0.96KB | 0.72KB | ▼ 24.41% |
icono/arrow.png | 0.44KB | 0.28KB | ▼ 36.59% |