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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.10ms] Passed 4 tests
Server-side resources used by GVSoft Photobox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.74 ▲2.76 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.43 ▲5.92 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.81 ▼3.77 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.40 ▼10.13 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.32 ▲2.75 |
GVSoft Photobox /wp-admin/options-general.php?page=GVSoft_Photobox | 3.26 | 32.68 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for GVSoft Photobox
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲189 | 13.74 ▼0.66 | 5.74 ▲4.14 | 39.01 ▼5.21 |
Dashboard /wp-admin | 2,233 ▲45 | 5.10 ▲0.21 | 114.44 ▼1.13 | 37.49 ▼0.63 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.32 ▲0.27 | 35.70 ▼28.86 | 30.77 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 18.53 ▼4.60 | 649.03 ▼17.00 | 34.40 ▼19.63 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.52 ▲0.31 | 100.57 ▲0.53 | 40.38 ▼4.70 |
GVSoft Photobox /wp-admin/options-general.php?page=GVSoft_Photobox | 1,294 | 2.42 | 53.67 | 32.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- 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 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/gvsoft-photobox/gvsoft-photobox.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gvsoft-photobox/admin.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #3 in gvsoft-photobox/assets to your readme.txt
gvsoft-photobox/gvsoft-photobox.php Passed 13 tests
"GVSoft Photobox" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
131 characters long description:
Фоторамка для просмотра фотографий и картинок. Photo frame for viewing photos and pictures.
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
No dangerous file extensions were detected3,151 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 4 | 42 | 43 | 291 |
JavaScript | 1 | 13 | 18 | 116 |
PO File | 1 | 34 | 41 | 73 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 10 | |
▷ Named functions | 2 | 20.00% |
▷ Anonymous functions | 8 | 80.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected