Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.07ms] Passed 4 tests
Analyzing server-side resources used by And IT Portfolio for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.75 ▼3.36 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.50 ▲1.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.95 ▲1.99 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.11 ▼8.02 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.39 ▲1.42 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for And IT Portfolio for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.30 ▼0.87 | 1.75 ▼0.03 | 44.02 ▼0.26 |
Dashboard /wp-admin | 2,224 ▲36 | 4.80 ▼0.10 | 114.30 ▲3.67 | 43.67 ▲4.96 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.04 ▲0.04 | 36.81 ▼3.10 | 34.98 ▲1.27 |
Add New Post /wp-admin/post-new.php | 1,527 ▼8 | 17.43 ▼0.78 | 660.68 ▲50.38 | 53.12 ▼1.44 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.21 ▲0.03 | 96.92 ▼1.87 | 44.74 ▼0.61 |
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 detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/and-it-portfolio-for-elementor/widgets/widgets-andit-portfolio-functions.php:275
- > PHP Fatal error
Uncaught Error: Call to undefined function AndITPortfolioBuilder\\add_action() in wp-content/plugins/and-it-portfolio-for-elementor/class-andit-portfolio.php:137
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: A description for screenshot #2 is required in and-it-portfolio-for-elementor/assets to your readme.txt
and-it-portfolio-for-elementor/andit-portfolio-for-elementor.php 85% from 13 tests
This is the main PHP file of "And IT Portfolio for Elementor" version 0.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("and-it-portfolio-for-elementor.php" instead of "andit-portfolio-for-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin12,541 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 157 | 78 | 6,063 |
PHP | 6 | 418 | 516 | 3,627 |
JavaScript | 7 | 802 | 423 | 2,389 |
SVG | 2 | 0 | 0 | 462 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 21.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 43 | |
▷ Static methods | 1 | 2.33% |
▷ Public methods | 27 | 62.79% |
▷ Protected methods | 9 | 20.93% |
▷ Private methods | 7 | 16.28% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/magnifierplus.png | 0.39KB | 0.27KB | ▼ 31.17% |
assets/img/plus.png | 0.21KB | 0.15KB | ▼ 29.11% |
assets/img/arrows.png | 0.21KB | 0.18KB | ▼ 11.90% |
assets/img/default-skin.png | 0.53KB | 0.72KB | 0.00% |
assets/img/magnifier.png | 0.38KB | 0.26KB | ▼ 30.05% |