Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.31ms] Passed 4 tests
A check of server-side resources used by Jeba Filter Portfolio
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.15 ▼0.89 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.99 ▼2.24 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.14 ▼2.31 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 95.84 ▼3.78 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.06 ▲0.03 |
Mixitup Category /wp-admin/edit-tags.php?taxonomy=jeba-filter_category&post_type=jeba-filter | 3.27 | 38.28 |
Add New /wp-admin/post-new.php?post_type=jeba-filter | 3.40 | 53.55 |
JebaFilter /wp-admin/edit.php?post_type=jeba-filter | 3.32 | 37.73 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jeba Filter Portfolio
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲158 | 13.45 ▼0.84 | 9.65 ▲7.97 | 38.11 ▼14.89 |
Dashboard /wp-admin | 2,230 ▲50 | 5.65 ▲0.02 | 91.34 ▲0.60 | 43.09 ▲2.53 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.04 ▲0.08 | 40.83 ▲2.23 | 36.43 ▼1.34 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.03 ▼0.10 | 645.51 ▲8.88 | 61.93 ▲11.83 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.13 ▼0.03 | 104.45 ▼0.69 | 46.32 ▲2.19 |
Mixitup Category /wp-admin/edit-tags.php?taxonomy=jeba-filter_category&post_type=jeba-filter | 1,306 | 2.13 | 27.51 | 27.89 |
Add New /wp-admin/post-new.php?post_type=jeba-filter | 2,295 | 7.67 | 173.35 | 68.09 |
JebaFilter /wp-admin/edit.php?post_type=jeba-filter | 1,116 | 1.95 | 31.97 | 28.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jeba-filterable-portfolio/jeba-filter-index.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=jeba-filter
- > Javascript (severe) in unknown
/wp-content/plugins/jeba-filterable-portfolio/js/filterable.pack.js?ver=6.3.1 4:1443 Uncaught TypeError: $ is not a function
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Contributors: The plugin contributors field is missing
- Screenshots: Please add images for these screenshots: #1 (Installed in demo server.), #2 (Another demo.)
jeba-filterable-portfolio/jeba-filter-index.php 85% from 13 tests
The primary PHP file in "Jeba Filter Portfolio" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jeba-filterable-portfolio.php" instead of "jeba-filter-index.php")
- Description: The description should be shorter than 140 characters (currently 250 characters long)
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
No dangerous file extensions were detected182 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 8 | 119 |
JavaScript | 2 | 9 | 14 | 54 |
CSS | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin