Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5663
wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▼1.82MB] [CPU: ▼189.52ms] Passed 4 tests
An overview of server-side resources used by pingeb.org
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.96 ▼0.76 | 5.92 ▼20.58 |
Dashboard /wp-admin | 1.83 ▼1.22 | 6.19 ▼40.63 |
Posts /wp-admin/edit.php | 1.83 ▼1.28 | 7.19 ▼43.41 |
Add New Post /wp-admin/post-new.php | 1.83 ▼3.60 | 6.78 ▼647.68 |
Media Library /wp-admin/upload.php | 1.83 ▼1.17 | 6.27 ▼26.35 |
Pingeborg Tags /wp-admin/admin.php?page=pingeb_tag_admin | 1.83 | 5.27 |
Settings /wp-admin/admin.php?page=pingeb_twitter_admin | 1.83 | 5.82 |
Tag Maintenance /wp-admin/admin.php?page=pingeb_admin_tag_maintenance | 1.83 | 6.95 |
Custom HTML /wp-admin/admin.php?page=pingeb_custom_html | 1.83 | 5.71 |
Info /wp-admin/admin.php?page=pingeb_info | 1.83 | 5.29 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 52 new files
Database: 5 new tables, 1 new option
New tables |
---|
wp_pingeb_statistik |
wp_pingeb_url_type |
wp_pingeb_url |
wp_pingeb_custom_html |
wp_pingeb_tag |
New WordPress options |
---|
pingeb_db_version |
Browser metrics Passed 4 tests
pingeb.org: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,024 ▲428 | 16.97 ▲1.19 | 11.62 ▲4.22 | 48.43 ▼5.35 |
Dashboard /wp-admin | 3,062 ▲128 | 6.04 ▲0.06 | 155.21 ▲5.43 | 129.11 ▲9.63 |
Posts /wp-admin/edit.php | 2,856 ▲117 | 2.84 ▲0.16 | 70.38 ▼1.54 | 111.01 ▲17.62 |
Add New Post /wp-admin/post-new.php | 1,756 ▲73 | 15.68 ▼3.13 | 420.21 ▲41.20 | 142.64 ▲31.10 |
Media Library /wp-admin/upload.php | 1,850 ▲43 | 5.32 ▲0.29 | 134.45 ▼25.77 | 142.97 ▲19.45 |
Pingeborg Tags /wp-admin/admin.php?page=pingeb_tag_admin | 1,360 | 2.57 | 65.75 | 104.43 |
Settings /wp-admin/admin.php?page=pingeb_twitter_admin | 1,519 | 2.48 | 65.68 | 86.67 |
Tag Maintenance /wp-admin/admin.php?page=pingeb_admin_tag_maintenance | 1,164 | 2.64 | 59.53 | 80.34 |
Custom HTML /wp-admin/admin.php?page=pingeb_custom_html | 1,170 | 2.51 | 64.33 | 88.06 |
Info /wp-admin/admin.php?page=pingeb_info | 1,213 | 2.49 | 74.40 | 69.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the pingeb_common handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 5 tables in the database
- wp_pingeb_url
- wp_pingeb_tag
- wp_pingeb_url_type
- wp_pingeb_statistik
- wp_pingeb_custom_html
- This plugin did not uninstall successfully, leaving 1 option in the database
- pingeb_db_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the pingeb_common handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the pingeb_heatmap handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the raphael handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the graphael handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the raphael_line handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the raphael_bar handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the raphael_pie handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User deprecated in wp-includes/functions.php+5211
register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead.
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > User deprecated in wp-includes/functions.php+5211
wpdb::escape is deprecated since version 3.6.0! Use wpdb::prepare() or esc_sql() instead.
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
The following issues need your attention
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pingeborg/pingeb_admin_tag_maintenance_callbacks.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pingeborg/pingeb_admin_custom_html.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pingeborg/pingeb_admin_custom_html_callbacks.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/pingeborg/pingeb_statistics.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pingeborg/pingeb_admin_twitter.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pingeborg/pingeb_admin_tags.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pingeborg/pingeb_widgets.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/pingeborg/pingeborg.php:174
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pingeborg/pingeb_links.php:146
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pingeborg/pingeb_info.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=pingeb_tag_admin
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=pingeb_tag_admin 0:0 Uncaught SyntaxError: Unexpected token < in JSON at position 0
- > GET request to /wp-admin/admin.php?page=pingeb_admin_tag_maintenance
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=pingeb_admin_tag_maintenance 0:0 Uncaught SyntaxError: Unexpected token < in JSON at position 0
- > GET request to /wp-admin/admin.php?page=pingeb_info
- > Network (severe)
http://cdn.mapsmarker.com/wp-content/themes/mapsmarker/inc/images/mapsmarker.png - 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
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: stickers, timedependent, locationbased, qr, posters...
pingeborg/pingeborg.php Passed 13 tests
The main PHP file in "pingeb.org" ver. 2.0.3.2 adds more information about the plugin and also serves as the entry point for this plugin
103 characters long description:
A plugin that connects the real world with your great content on WordPress using NFC, QR and geofences.
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,773 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 563 | 638 | 2,693 |
JavaScript | 10 | 220 | 180 | 979 |
CSS | 1 | 13 | 2 | 101 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 80.00 |
▷ Minimum class complexity | 80.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 66.67% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
20 compressed PNG files occupy 0.57MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/squares/07.png | 29.17KB | 27.53KB | ▼ 5.62% |
img/squares/04.png | 29.12KB | 27.48KB | ▼ 5.62% |
img/squares/18.png | 30.10KB | 28.54KB | ▼ 5.16% |
img/squares/12.png | 30.46KB | 28.95KB | ▼ 4.96% |
img/logo.png | 46.48KB | 25.88KB | ▼ 44.32% |