Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.75ms] Passed 4 tests
Analyzing server-side resources used by Oppso Maps
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.23 ▲2.42 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.25 ▼0.10 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.92 ▲1.74 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.64 ▼2.51 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.00 ▼2.13 |
Oppso Maps /wp-admin/options-general.php?page=oppso-maps/oppso-maps.php | 3.22 | 32.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Oppso Maps
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲130 | 14.90 ▲0.52 | 10.59 ▲8.56 | 42.73 ▼0.44 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▲0.95 | 107.65 ▲5.13 | 41.79 ▲1.26 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.54 ▲0.50 | 39.20 ▼1.76 | 31.18 ▼6.32 |
Add New Post /wp-admin/post-new.php | 1,525 ▼8 | 23.53 ▲0.22 | 610.00 ▼59.76 | 33.71 ▼30.08 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.97 ▲0.76 | 102.59 ▼13.67 | 42.80 ▼3.55 |
Oppso Maps /wp-admin/options-general.php?page=oppso-maps/oppso-maps.php | 949 | 2.32 | 31.69 | 25.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/oppso-maps/oppso-maps.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=oppso-maps/oppso-maps.php
- > Console-api (warning) in unknown
https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&ver=6.3.1 210:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
- > GET request to /wp-admin/options-general.php?page=oppso-maps/oppso-maps.php
- > Javascript (severe) in unknown
/wp-content/plugins/oppso-maps/js/oppso-map.js?ver=6.3.1 134:31 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration Passed 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
6 plugin tags: google maps, geocoder, marker, google map v3, maps...
oppso-maps/oppso-maps.php Passed 13 tests
The principal PHP file in "Oppso Maps" v. 1.0 is loaded by WordPress automatically on each request
115 characters long description:
Add a Google Map to your wordpress site! Oppso Maps creates a map shortcode to use in posts, pages or text widgets.
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
There were no executable files found in this plugin229 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 2 | 135 |
JavaScript | 1 | 25 | 2 | 90 |
CSS | 1 | 0 | 0 | 4 |
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.07 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin