Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.23ms] Passed 4 tests
An overview of server-side resources used by Fast & Fancy Filter - 3F
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 44.00 ▲1.40 |
Dashboard /wp-admin | 3.48 ▲0.18 | 52.61 ▼6.34 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 52.23 ▲2.65 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 89.44 ▼17.31 |
Media Library /wp-admin/upload.php | 3.41 ▲0.17 | 40.14 ▲1.32 |
General settings /wp-admin/admin.php?page=fff-settings-general-page | 3.38 | 37.65 |
3F Filters /wp-admin/admin.php?page=fff-settings-page | 3.39 | 34.19 |
Server storage [IO: ▲1.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fast & Fancy Filter - 3F
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲207 | 19.16 ▲4.44 | 126.48 ▲124.75 | 44.04 ▲1.48 |
Dashboard /wp-admin | 2,229 ▲55 | 5.58 ▼0.03 | 83.59 ▼14.82 | 80.30 ▲33.87 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 1.99 ▼0.02 | 39.37 ▲2.01 | 35.16 ▼3.83 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.11 ▼0.01 | 662.96 ▼4.36 | 58.35 ▲0.37 |
Media Library /wp-admin/upload.php | 1,449 ▲55 | 4.20 ▼0.02 | 98.21 ▼14.43 | 70.09 ▲21.94 |
General settings /wp-admin/admin.php?page=fff-settings-general-page | 1,237 | 5.79 | 113.64 | 34.87 |
3F Filters /wp-admin/admin.php?page=fff-settings-page | 1,051 | 5.64 | 88.91 | 25.27 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- 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)
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/fast-fancy-filter-3f/includes/admin/templates/all-filters.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/fast-fancy-filter-3f/includes/admin/templates/new-filter.php:2
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: posts, ajax filter, post, api filter, post filter...
fast-fancy-filter-3f/fast-fancy-filter-3f.php 92% from 13 tests
Analyzing the main PHP file in "Fast & Fancy Filter - 3F" version 1.2.2
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected3,637 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 452 | 203 | 1,682 |
PHP | 6 | 118 | 70 | 971 |
CSS | 3 | 14 | 6 | 889 |
SVG | 11 | 0 | 3 | 53 |
JSON | 4 | 0 | 0 | 42 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 6.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 23 | 88.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 11.54% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 8 | |
▷ Global constants | 8 | 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 images were found in this plugin