Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.45MB] [CPU: ▼11.10ms] Passed 4 tests
Analyzing server-side resources used by Falcon - WordPress Optimizations & Tweaks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 40.54 ▲1.18 |
Dashboard /wp-admin | 3.38 ▲0.08 | 35.28 ▼14.57 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 47.78 ▼2.84 |
Add New Post /wp-admin/post-new.php | 3.61 ▼2.28 | 62.12 ▼28.17 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.12 ▲7.31 |
Falcon /wp-admin/options-general.php?page=falcon | 3.36 | 31.72 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Falcon - WordPress Optimizations & Tweaks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,761 ▼974 | 13.62 ▼0.76 | 1.33 ▼0.48 | 27.99 ▼19.89 |
Dashboard /wp-admin | 1,220 ▼968 | 5.24 ▼0.63 | 76.10 ▼37.64 | 34.15 ▼10.99 |
Posts /wp-admin/edit.php | 2,019 ▼70 | 1.86 ▼0.16 | 35.44 ▼0.61 | 32.79 ▼3.29 |
Add New Post /wp-admin/post-new.php | 3,008 ▲1,494 | 7.64 ▼10.20 | 182.80 ▼504.62 | 80.63 ▲24.79 |
Media Library /wp-admin/upload.php | 1,319 ▼63 | 4.08 ▼0.12 | 92.56 ▼5.88 | 39.94 ▼5.35 |
Falcon /wp-admin/options-general.php?page=falcon | 1,218 | 1.98 | 24.52 | 25.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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 | 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
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Falcon\\plugin_dir_url() in wp-content/plugins/falcon/falcon.php:16
- > PHP Fatal error
Uncaught Error: Class 'Falcon\\Base' not found in wp-content/plugins/falcon/src/Assets.php:4
- > PHP Fatal error
Uncaught Error: Class 'Falcon\\Base' not found in wp-content/plugins/falcon/src/Header.php:4
- > PHP Fatal error
Uncaught Error: Class 'Falcon\\Base' not found in wp-content/plugins/falcon/src/General.php:8
- > PHP Fatal error
Uncaught Error: Class 'Falcon\\Base' not found in wp-content/plugins/falcon/src/Admin.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in falcon/assets to your readme.txt
falcon/falcon.php 92% from 13 tests
"Falcon - WordPress Optimizations & Tweaks" version 2.5.0'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 points to a folder that does not exist ("/languages/")
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
Good job! No executable or dangerous file extensions detected1,279 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 258 | 416 | 1,189 |
CSS | 1 | 4 | 1 | 70 |
JavaScript | 1 | 5 | 0 | 15 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 20 | 16.95% |
▷ Public methods | 111 | 94.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 5.93% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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