Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/tasador-de-autocaravanas/tasador-autocaravanas.php+98
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼58.67ms] Passed 4 tests
Analyzing server-side resources used by Tasador de autocaravanas
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.68 ▼35.82 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.18 ▼58.95 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.48 ▼41.42 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.85 ▼98.50 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.03 ▼30.68 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_tasador_autocaravanas_plugin |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Tasador de autocaravanas: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.95 ▼0.40 | 9.88 ▲8.01 | 48.70 ▲6.86 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▼0.06 | 90.34 ▼0.76 | 41.92 ▼5.77 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.08 | 43.98 ▲4.99 | 36.50 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,534 ▲7 | 18.37 ▼4.66 | 672.70 ▲17.04 | 61.13 ▲9.00 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.29 ▲0.15 | 96.80 ▼9.25 | 42.08 ▼3.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/tasador-de-autocaravanas/tasador-autocaravanas.php+98
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- widget_tasador_autocaravanas_plugin
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/tasador-de-autocaravanas/tasador-autocaravanas.php:29
- > PHP Fatal error
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
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: tasador de autocaravanas, tasador de vehculos, tasar autocaravanas
tasador-de-autocaravanas/tasador-autocaravanas.php 92% from 13 tests
This is the main PHP file of "Tasador de autocaravanas" version 1.5.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tasador-de-autocaravanas.php" instead of "tasador-autocaravanas.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,382 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 138 | 162 | 680 |
PHP | 2 | 31 | 32 | 501 |
CSS | 2 | 43 | 19 | 201 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.01 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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