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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.52MB] [CPU: ▼6.53ms] Passed 4 tests
An overview of server-side resources used by Webflow Pages
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 581.41 ▲540.08 |
Dashboard /wp-admin | 3.45 ▲0.14 | 61.45 ▲7.21 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 57.16 ▲10.13 |
Add New Post /wp-admin/post-new.php | 3.32 ▼2.56 | 39.95 ▼49.54 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 40.42 ▲6.10 |
Welcome /wp-admin/admin.php?page=webflow-settings | 3.34 | 32.00 |
Settings /wp-admin/admin.php?page=webflow-pages-settings | 3.35 | 437.65 |
Server storage [IO: ▲3.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Webflow Pages: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 13.33 ▼1.36 | 1.68 ▼0.28 | 37.55 ▼8.09 |
Dashboard /wp-admin | 2,252 ▲64 | 6.00 ▲1.12 | 101.32 ▼2.81 | 40.47 ▲2.18 |
Posts /wp-admin/edit.php | 2,140 ▲51 | 2.02 ▲0.04 | 49.94 ▲7.87 | 35.43 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,556 ▲11 | 23.01 ▲4.54 | 699.98 ▲72.68 | 61.38 ▲8.74 |
Media Library /wp-admin/upload.php | 1,437 ▲52 | 4.39 ▲0.15 | 96.22 ▼22.73 | 43.97 ▼7.27 |
Welcome /wp-admin/admin.php?page=webflow-settings | 922 | 2.15 | 28.25 | 57.34 |
Settings /wp-admin/admin.php?page=webflow-pages-settings | 891 | 1.88 | 25.49 | 22.60 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 return non-empty strings:
- > /wp-content/plugins/webflow-pages/includes/admin/views/admin-welcome-page.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant WEBFLOW_PAGES_PLUGIN_DIRECTORY_URL - assumed 'WEBFLOW_PAGES_PLUGIN_DIRECTORY_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/webflow-pages/includes/admin/views/admin-welcome-page.php on line 23
- > PHP Warning
Use of undefined constant WEBFLOW_PAGES_PLUGIN_DIRECTORY_URL - assumed 'WEBFLOW_PAGES_PLUGIN_DIRECTORY_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/webflow-pages/includes/admin/views/admin-welcome-page.php on line 3
- > PHP Warning
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 issues were found
Optimizations
Plugin configuration 93% from 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
1 plugin tags: visual builder
webflow-pages/webflow-pages.php 85% from 13 tests
The main file in "Webflow Pages" v. 1.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected5,069 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 2,356 |
Svelte | 23 | 146 | 2 | 1,354 |
PHP | 10 | 301 | 363 | 851 |
JavaScript | 7 | 31 | 39 | 399 |
SVG | 3 | 0 | 2 | 70 |
CSS | 2 | 1 | 1 | 26 |
Markdown | 1 | 6 | 0 | 13 |
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.45 |
Average class complexity | 27.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 4 | 7.41% |
▷ Public methods | 45 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 16.67% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 2.78MB with 1.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 179.09KB | 52.22KB | ▼ 70.84% |
assets/banner-1544x500.png | 420.33KB | 170.58KB | ▼ 59.42% |
assets/screenshot-2.png | 195.14KB | 57.33KB | ▼ 70.62% |
assets/icon-256x256.png | 12.79KB | 5.99KB | ▼ 53.13% |
assets/banner-772x250.png | 187.18KB | 62.73KB | ▼ 66.49% |