Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.01ms] Passed 4 tests
A check of server-side resources used by Xpro Portfolio For Beaver Builder - Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.13 ▼4.87 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.56 ▼3.60 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 55.77 ▲4.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.26 ▼12.06 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.78 ▼3.49 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Xpro Portfolio For Beaver Builder - Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.15 ▼1.38 | 1.63 ▼0.14 | 41.93 ▼0.91 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▲0.86 | 101.11 ▼7.16 | 40.24 ▼6.08 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 39.49 ▲2.52 | 34.46 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.22 ▲5.03 | 675.28 ▼9.37 | 55.49 ▼7.55 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▼0.03 | 103.19 ▼9.22 | 47.05 ▼3.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-5.php
- > /wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-4.php
- > /wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/includes/frontend.js.php
- > /wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-6.php
- > /wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/includes/frontend.php
- > /wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-1.php
- > /wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-2.php
- > /wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-3.php
- 70× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant XPRO_PORTFOLIO_FOR_BB_LITE_DIR - assumed 'XPRO_PORTFOLIO_FOR_BB_LITE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/classes/class-xpro-portfolio-lite-wp-init.php on line 31
- > PHP Notice
Undefined variable: settings in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/includes/frontend.php on line 13
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-2.php on line 9
- > PHP Notice
Trying to get property 'filterable_portfolio' of non-object in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-3.php on line 9
- > PHP Notice
Trying to get property 'preview_type' of non-object in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/includes/frontend.js.php on line 330
- > PHP Notice
Undefined variable: settings in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-2.php on line 5
- > PHP Notice
Trying to get property 'enable_filter' of non-object in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-1.php on line 1
- > PHP Notice
Trying to get property 'portfolio_layout' of non-object in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/includes/frontend.js.php on line 303
- > PHP Notice
Trying to get property 'portfolio_layout' of non-object in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/includes/frontend.js.php on line 8
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/filterable-portfolio-for-beaver-builder-elementor/modules/tnit-portfolio/layouts/portfolio-layout-1.php on line 40
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: beaver builder free portfolio, beaver builder portfolio extensions, beaver builder, beaver builder portfolio plugin, wordpress portfolio responsive mobile friendly...
filterable-portfolio-for-beaver-builder-elementor/filterable-portfolio-for-beaver-builder-elementor.php Passed 13 tests
This is the main PHP file of "Xpro Portfolio For Beaver Builder - Lite" version 1.5.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
116 characters long description:
Organize and create a responsive portfolio with one click. Easily drag and drop images in pre-built gallery layouts.
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
There were no executable files found in this plugin9,621 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 672 | 135 | 5,040 |
PHP | 14 | 531 | 411 | 4,374 |
JavaScript | 7 | 59 | 40 | 158 |
SVG | 3 | 0 | 0 | 49 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 24 | |
▷ Static methods | 9 | 37.50% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/tnit-portfolio/img/youtube-play.png | 5.06KB | 2.37KB | ▼ 53.04% |
modules/tnit-portfolio/img/vimeo-play.png | 5.30KB | 1.56KB | ▼ 70.65% |
assets/images/Logo.png | 15.10KB | 5.76KB | ▼ 61.83% |
modules/tnit-portfolio/img/video-play.png | 4.42KB | 1.05KB | ▼ 76.27% |