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.14MB] [CPU: ▼5.19ms] Passed 4 tests
This is a short check of server-side resources used by Mesh - Page Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 34.81 ▼3.89 |
Dashboard /wp-admin | 3.44 ▲0.13 | 49.42 ▼0.89 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 48.94 ▲2.77 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 82.28 ▼13.91 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.03 ▼2.06 |
Mesh Templates /wp-admin/edit.php?post_type=mesh_template | 3.45 | 38.57 |
Mesh /wp-admin/options-general.php?page=mesh | 3.80 | 34.25 |
Add Template /wp-admin/post-new.php?post_type=mesh_template | 3.57 | 51.67 |
Server storage [IO: ▲1.13MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 173 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
mesh_post_types |
widget_recent-posts |
mesh_version |
mesh_settings |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Mesh - Page Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,073 ▲327 | 13.73 ▼0.69 | 5.50 ▲3.68 | 30.71 ▼17.42 |
Dashboard /wp-admin | 2,371 ▲183 | 5.87 ▼0.18 | 99.14 ▼13.35 | 80.43 ▲33.22 |
Posts /wp-admin/edit.php | 2,250 ▲164 | 2.04 ▲0.04 | 42.86 ▲9.45 | 40.87 ▲7.76 |
Add New Post /wp-admin/post-new.php | 1,615 ▲96 | 23.60 ▲0.47 | 649.61 ▼28.06 | 32.79 ▼16.22 |
Media Library /wp-admin/upload.php | 1,573 ▲191 | 4.29 ▲0.06 | 101.38 ▲3.10 | 81.36 ▲36.99 |
Mesh Templates /wp-admin/edit.php?post_type=mesh_template | 1,307 | 2.55 | 40.59 | 40.95 |
Mesh /wp-admin/options-general.php?page=mesh | 1,193 | 2.09 | 32.65 | 67.06 |
Add Template /wp-admin/post-new.php?post_type=mesh_template | 2,375 | 8.09 | 168.45 | 146.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- mesh_settings
- mesh_post_types
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- mesh_version
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 115× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mesh/admin/upgrade-notice.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mesh/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=mesh_template
- > Network (severe)
wp-content/plugins/mesh/assets/images/mesh-full-logo-full-color@2x.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=mesh_template
- > Network (severe)
wp-content/plugins/mesh/css/fonts/mesh.ttf?2cd9aa - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=mesh_template
- > Network (severe)
wp-content/plugins/mesh/css/fonts/mesh.woff?2cd9aa - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=mesh
- > Network (severe)
wp-content/plugins/mesh/assets/images/mesh-tagline-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=mesh
- > Network (severe)
wp-content/plugins/mesh/images/meshbackground@2x.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: bootstrap, layout builder, responsive, site builder, linchpin...
mesh/mesh.php 92% from 13 tests
"Mesh - Page Builder" version 1.4.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
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
Success! There were no dangerous files found in this plugin13,110 lines of code in 166 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 157 | 2,226 | 2,894 | 8,835 |
CSS | 2 | 251 | 49 | 2,189 |
JavaScript | 3 | 506 | 526 | 1,567 |
JSON | 2 | 0 | 0 | 282 |
Markdown | 2 | 55 | 0 | 237 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 7.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 125 | |
▷ Abstract classes | 1 | 0.80% |
▷ Concrete classes | 124 | 99.20% |
▷ Final classes | 0 | 0.00% |
Methods | 308 | |
▷ Static methods | 48 | 15.58% |
▷ Public methods | 224 | 72.73% |
▷ Protected methods | 73 | 23.70% |
▷ Private methods | 11 | 3.57% |
Functions | 45 | |
▷ Named functions | 38 | 84.44% |
▷ Anonymous functions | 7 | 15.56% |
Constants | 11 | |
▷ Global constants | 6 | 54.55% |
▷ Class constants | 5 | 45.45% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin