Benchmarks
Plugin footprint 65% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.09MB] [CPU: ▼45.07ms] Passed 4 tests
Server-side resources used by Firepro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▼0.58 | 15.03 ▼28.53 |
Dashboard /wp-admin | 2.93 ▼0.38 | 18.69 ▼32.71 |
Posts /wp-admin/edit.php | 2.93 ▼0.43 | 16.12 ▼35.80 |
Add New Post /wp-admin/post-new.php | 2.93 ▼2.96 | 16.62 ▼83.22 |
Media Library /wp-admin/upload.php | 2.93 ▼0.30 | 21.10 ▼14.26 |
Getting Started /wp-admin/admin.php?page=firepro-settings | 2.93 | 17.80 |
Pro Setup /wp-admin/admin.php?page=firepro-pro-animations | 2.93 | 23.42 |
Server storage [IO: ▲2.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 7 new options
New WordPress options |
---|
firepro_temp_key |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Firepro
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲206 | 14.39 ▼0.04 | 3.36 ▲1.67 | 44.02 ▼0.69 |
Dashboard /wp-admin | 2,357 ▲180 | 5.58 ▲0.03 | 97.32 ▲3.68 | 43.78 ▼1.42 |
Posts /wp-admin/edit.php | 2,262 ▲159 | 2.01 ▼0.08 | 35.28 ▼9.08 | 34.95 ▼1.26 |
Add New Post /wp-admin/post-new.php | 6,409 ▲4,874 | 28.40 ▲10.28 | 927.39 ▲252.92 | 43.97 ▼22.57 |
Media Library /wp-admin/upload.php | 1,565 ▲165 | 4.16 ▼0.03 | 111.58 ▲6.60 | 69.25 ▲24.98 |
Getting Started /wp-admin/admin.php?page=firepro-settings | 1,587 | 9.48 | 276.40 | 72.85 |
Pro Setup /wp-admin/admin.php?page=firepro-pro-animations | 996 | 2.01 | 25.64 | 42.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- firepro_temp_key
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=firepro-pro-animations
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- > GET request to /wp-admin/admin.php?page=firepro-pro-animations
- > Notice in wp-content/plugins/firepro/includes/pages/pro_page.php+2
Undefined index: proStatus
- > GET request to /wp-admin/admin.php?page=firepro-pro-animations
- > Notice in wp-content/plugins/firepro/includes/pages/pro_page.php+21
Undefined index: firepro_api_key
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 get_admin_url() in wp-content/plugins/firepro/includes/pages/getting_started.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_textarea_field() in wp-content/plugins/firepro/includes/pages/pro_page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function firepro\\add_action() in wp-content/plugins/firepro/firepro.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=firepro-pro-animations
- > Network (severe)
https://cdn.firepro.io/releases/firepro.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 503 ()
- > GET request to /wp-admin/admin.php?page=firepro-pro-animations
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=firepro-pro-animations - Access to XMLHttpRequest at 'https://cdn.firepro.io/api-processing/verify-api.php?apiKey=firepro_temp_key3Qnaymy6ASAs&domainName=wp.com' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=firepro-pro-animations
- > Network (severe)
https://cdn.firepro.io/api-processing/verify-api.php?apiKey=firepro_temp_key3Qnaymy6ASAs&domainName=wp.com - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: block
firepro/firepro.php Passed 13 tests
The main file in "Firepro" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
47 characters long description:
Add animations to your site with Firepro blocks
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin35,544 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 17,162 |
JavaScript | 30 | 2,214 | 3,797 | 15,549 |
Sass | 2 | 207 | 105 | 2,065 |
PHP | 9 | 88 | 169 | 600 |
CSS | 3 | 27 | 0 | 166 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 96.77% |
▷ Protected methods | 1 | 3.23% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 8 | 61.54% |
▷ Anonymous functions | 5 | 38.46% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected