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: ▼1.82MB] [CPU: ▼55.33ms] Passed 4 tests
An overview of server-side resources used by sourceplay-navermap
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.70 ▼5.12 |
Dashboard /wp-admin | 2.12 ▼1.18 | 6.95 ▼51.41 |
Posts /wp-admin/edit.php | 2.12 ▼1.23 | 7.74 ▼41.03 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.76 | 6.41 ▼98.97 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.86 ▼29.92 |
NaverMap /wp-admin/admin.php?page=source_playground_index | 2.12 | 7.45 |
추가하기 /wp-admin/admin.php?page=sourceplay_navermap_add | 2.12 | 7.60 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_sourceplay_navermap |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by sourceplay-navermap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.68 ▲0.33 | 1.80 ▼0.34 | 44.75 ▼0.78 |
Dashboard /wp-admin | 2,218 ▲38 | 5.61 ▼0.01 | 99.12 ▲8.21 | 45.48 ▲0.51 |
Posts /wp-admin/edit.php | 2,123 ▲26 | 1.98 ▼0.03 | 36.74 ▲0.16 | 37.02 ▼4.57 |
Add New Post /wp-admin/post-new.php | 1,553 ▲22 | 18.35 ▼4.77 | 630.46 ▼15.96 | 72.31 ▲12.05 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.20 ▼0.05 | 109.32 ▲7.54 | 48.80 ▲7.33 |
NaverMap /wp-admin/admin.php?page=source_playground_index | 858 | 1.97 | 24.67 | 58.05 |
추가하기 /wp-admin/admin.php?page=sourceplay_navermap_add | 1,980 | 7.98 | 160.07 | 63.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function 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.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourceplay_navermap_add
- > User notice in wp-includes/functions.php+5905
Function 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.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourceplay_navermap_add
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.)
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/sourceplay-navermap/maplist.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/sourceplay-navermap/index.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== sourceplay-navermap ===
)
sourceplay-navermap/index.php 92% from 13 tests
The entry point to "sourceplay-navermap" version 0.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sourceplay-navermap.php" instead of "index.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
No dangerous file extensions were detected2,097 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 47 | 0 | 1,136 |
PHP | 3 | 77 | 15 | 630 |
JavaScript | 3 | 59 | 22 | 331 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 10 | |
▷ Named functions | 10 | 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
No PNG files were detected