Benchmarks
Plugin footprint 58% 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
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/big-blog-map/big-blog-map.php+468
Trying to get property 'post_type' of non-object
Server metrics [RAM: ▼0.67MB] [CPU: ▼22.69ms] Passed 4 tests
Server-side resources used by Big Blog Map - Geotag your posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 46.26 ▼1.53 |
Dashboard /wp-admin | 3.35 ▲0.00 | 51.40 ▼19.32 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.87 ▼2.75 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.75 | 42.52 ▼67.17 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.06 ▲0.24 |
Big Blog Map /wp-admin/options-general.php?page=bbm_options | 3.26 | 34.73 |
Server storage [IO: ▲2.98MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 394 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Big Blog Map - Geotag your posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.27 ▼0.30 | 1.76 ▼0.34 | 43.31 ▼2.44 |
Dashboard /wp-admin | 2,196 ▲16 | 5.54 ▼0.15 | 85.82 ▼1.75 | 39.14 ▼3.27 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.97 ▼0.02 | 40.95 ▲0.83 | 35.62 ▼2.84 |
Add New Post /wp-admin/post-new.php | 6,278 ▲4,750 | 26.57 ▲3.29 | 893.41 ▲240.39 | 63.37 ▲4.81 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.00 | 97.89 ▼16.49 | 43.56 ▼3.48 |
Big Blog Map /wp-admin/options-general.php?page=bbm_options | 1,250 | 3.07 | 43.67 | 29.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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
Almost there, just fix the following server-side errors
- 15 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bbm_options
- > Notice in wp-content/plugins/big-blog-map/big-blog-map.php+196
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just 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 add_action() in wp-content/plugins/big-blog-map/big-blog-map.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/big-blog-map/theme_files/template_bbm.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: maps, geotagging, geotag, google maps
big-blog-map/big-blog-map.php 92% from 13 tests
This is the main PHP file of "Big Blog Map - Geotag your posts" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 247 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected22,314 lines of code in 97 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 1,197 | 133 | 7,334 |
LESS | 48 | 1,057 | 1,154 | 5,908 |
HTML | 10 | 329 | 162 | 3,747 |
JavaScript | 20 | 1,395 | 1,384 | 3,573 |
Sass | 2 | 86 | 14 | 1,106 |
PHP | 2 | 367 | 68 | 646 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
265 compressed PNG files occupy 0.19MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bbm-resources/img/flags/cy.png | 0.42KB | 0.45KB | 0.00% |
bbm-resources/img/flags/nc.png | 0.58KB | 0.71KB | 0.00% |
bbm-resources/img/flags/bt.png | 0.62KB | 0.70KB | 0.00% |
bbm-resources/img/flags/kp.png | 0.55KB | 0.72KB | 0.00% |
bbm-resources/img/flags/scotland.png | 0.63KB | 0.67KB | 0.00% |