Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.75ms] Passed 4 tests
Server-side resources used by Tracker wp
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.18 ▼3.41 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.24 ▲1.00 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.38 ▲0.10 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.19 ▼4.68 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.26 ▲2.77 |
Configuracion /wp-admin/admin.php?page=tracker-wp/configuracion/apikey.php | 3.28 | 33.41 |
Tracker wp /wp-admin/admin.php?page=tracker-wp/configuracion/welcome.php | 3.28 | 32.76 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 63 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_tkwp_configuration |
wp_tkwp_posiciones |
wp_tkwp_maps |
wp_tkwp_multimedias |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tracker wp
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲150 | 14.06 ▲1.05 | 21.95 ▲20.01 | 39.54 ▼4.30 |
Dashboard /wp-admin | 2,242 ▲50 | 4.87 ▼0.06 | 106.41 ▲0.59 | 40.61 ▼5.09 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.00 ▼0.02 | 42.72 ▲7.14 | 35.01 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 17.43 ▼5.75 | 602.21 ▼105.30 | 60.43 ▼7.75 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.21 ▼0.09 | 97.08 ▼8.26 | 39.54 ▼4.65 |
Configuracion /wp-admin/admin.php?page=tracker-wp/configuracion/apikey.php | 812 | 2.06 | 24.81 | 26.08 |
Tracker wp /wp-admin/admin.php?page=tracker-wp/configuracion/welcome.php | 805 | 2.06 | 23.99 | 27.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% 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 0% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tracker-wp/configuracion/welcome.php
- > /wp-content/plugins/tracker-wp/edicion/modals/addMultimedia.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/tracker-wp/configuracion/apikey.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/tracker-wp/edicion/edicionmapas.php:17
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/tracker-wp/edicion/utils/CargadorMapas.php:22
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/tracker-wp/includes/tkwp_general.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tracker-wp/includes/tkwp_mainFunctions.php:3
- > PHP Notice
Undefined index: MAPA in wp-content/plugins/tracker-wp/edicion/modals/addPosition.php on line 20
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/tracker-wp/edicion/utils/CargadorMapas.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/tracker-wp/configuracion/agradecimientos.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tracker-wp/includes/tkwp_services.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tracker-wp/includes/tkwp_mainFunctions.php:3
- > 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 90% from 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
9 plugin tags: gpx, position, google maps, google, kml...
tracker-wp/trackerwp.php 77% from 13 tests
Analyzing the main PHP file in "Tracker wp" version 1.0.3
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tracker-wp.php" instead of "trackerwp.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 159 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,718 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 392 | 312 | 2,007 |
JavaScript | 9 | 151 | 233 | 825 |
CSS | 9 | 112 | 40 | 696 |
HTML | 13 | 2 | 3 | 190 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 10.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 76 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 50 | |
▷ Named functions | 50 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
visualizacion/img/marcador3.png | 1.44KB | 0.62KB | ▼ 56.72% |