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.09MB] [CPU: ▲0.71ms] Passed 4 tests
A check of server-side resources used by Edgemesh
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.24 ▲7.48 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.57 ▼1.78 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 44.22 ▲3.77 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 78.90 ▼0.23 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.39 ▲1.06 |
Edgemesh /wp-admin/options-general.php?page=edgemesh-admin | 3.29 | 32.39 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Edgemesh
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.50 ▼0.12 | 4.01 ▲2.58 | 45.15 ▲1.87 |
Dashboard /wp-admin | 2,197 ▲17 | 5.54 ▼0.11 | 85.10 ▼12.04 | 35.58 ▼6.15 |
Posts /wp-admin/edit.php | 2,105 ▲8 | 1.99 ▲0.03 | 34.89 ▼3.71 | 37.46 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,533 ▼4 | 23.49 ▲5.33 | 675.24 ▲75.21 | 55.14 ▼9.08 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.19 ▼0.02 | 98.95 ▲7.01 | 42.64 ▲3.14 |
Edgemesh /wp-admin/options-general.php?page=edgemesh-admin | 980 | 2.00 | 23.19 | 28.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/edgemesh/admin/partials/edgemesh-admin-display.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edgemesh/includes/default-filters.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Scripts' not found in wp-content/plugins/edgemesh/includes/class-edgemesh-service-worker.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: optimization, pwa, cache, performance, seo...
edgemesh/edgemesh.php Passed 13 tests
"Edgemesh" version 5.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
25 characters long description:
Accelerate your business.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin470 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 106 | 574 | 452 |
CSS | 1 | 3 | 0 | 14 |
JavaScript | 2 | 2 | 27 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 81.82% |
▷ Protected methods | 2 | 6.06% |
▷ Private methods | 4 | 12.12% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.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
There are no PNG files in this plugin