Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.36ms] Passed 4 tests
An overview of server-side resources used by Tablacus maps
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.31 ▲0.73 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.51 ▼0.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.14 ▼7.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.88 ▼14.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.68 ▼2.53 |
Server storage [IO: ▲2.58MB] [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: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Tablacus maps
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.39 ▼0.29 | 5.35 ▲3.63 | 42.37 ▲1.22 |
Dashboard /wp-admin | 2,208 ▲17 | 5.99 ▲0.10 | 112.70 ▲8.85 | 44.23 ▲3.22 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.81 ▲0.78 | 36.74 ▼5.73 | 32.67 ▼6.92 |
Add New Post /wp-admin/post-new.php | 1,522 ▼11 | 23.73 ▲0.34 | 597.79 ▼63.23 | 34.54 ▼25.38 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 5.19 ▲0.86 | 108.60 ▼3.55 | 44.36 ▼3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tablacus-maps/tablacus-maps.php:18
- > 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)
No browser errors were detected
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
3 plugin tags: leaflet, openstreetmap, map
tablacus-maps/tablacus-maps.php Passed 13 tests
The principal PHP file in "Tablacus maps" v. 1.0.2 is loaded by WordPress automatically on each request
40 characters long description:
Use OpenStreetMap instead of Google Maps
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin17,259 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 5,246 | 6,757 | 16,680 |
CSS | 1 | 53 | 23 | 559 |
PHP | 1 | 4 | 12 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
5 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
leaflet/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |
leaflet/images/marker-icon.png | 1.43KB | 1.55KB | 0.00% |
leaflet/images/layers.png | 0.68KB | 1.05KB | 0.00% |
leaflet/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
leaflet/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |