Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.99ms] Passed 4 tests
This is a short check of server-side resources used by Cyclos Users Map
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 40.44 ▲4.19 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.12 ▼1.40 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 45.71 ▼1.87 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.13 ▼13.72 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.04 ▲1.02 |
Cyclos Users Map /wp-admin/options-general.php?page=CyclosUsersMapSettings | 3.28 | 32.84 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cyclos Users Map
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲243 | 15.88 ▲1.51 | 10.24 ▲8.49 | 41.97 ▼2.20 |
Dashboard /wp-admin | 2,237 ▲49 | 6.19 ▲1.14 | 100.63 ▼2.97 | 40.43 ▼3.16 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.94 ▲0.91 | 38.69 ▲3.76 | 33.00 ▼5.54 |
Add New Post /wp-admin/post-new.php | 1,542 ▲11 | 23.47 ▲0.42 | 672.65 ▲29.00 | 35.42 ▼12.58 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 5.45 ▲1.23 | 99.77 ▲1.40 | 42.99 ▼2.55 |
Cyclos Users Map /wp-admin/options-general.php?page=CyclosUsersMapSettings | 1,041 | 2.57 | 30.68 | 23.65 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-cyclos-leaflet-map/simple-cyclos-leaflet-map.php
- > /wp-content/plugins/simple-cyclos-leaflet-map/cyclosUsersMap-common.php
- > /wp-content/plugins/simple-cyclos-leaflet-map/cyclosUsersMap-map.php
- > /wp-content/plugins/simple-cyclos-leaflet-map/cyclosUsersMap-admin-config.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
simple-cyclos-leaflet-map/simple-cyclos-leaflet-map.php Passed 13 tests
The primary PHP file in "Cyclos Users Map" version 1.1 is used by WordPress to initiate all plugin functionality
77 characters long description:
Integrates a business directory map of Cyclos users into your WordPress blog.
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
Everything looks great! No dangerous files found in this plugin3,457 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 584 | 430 | 2,056 |
CSS | 7 | 116 | 45 | 937 |
PHP | 4 | 54 | 103 | 464 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 11 | |
▷ Named functions | 11 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/search-icon.png | 2.91KB | 1.64KB | ▼ 43.53% |
images/search-icon-mobile.png | 3.87KB | 1.20KB | ▼ 68.88% |
icon.png | 1.61KB | 1.23KB | ▼ 23.38% |