Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.39ms] Passed 4 tests
An overview of server-side resources used by Flipbox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 51.75 ▲15.02 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.64 ▼0.56 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.01 ▲4.75 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.80 ▼11.67 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 43.73 ▲9.03 |
Server storage [IO: ▲5.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flipbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲6 | 13.56 ▼0.89 | 2.23 ▲0.70 | 47.11 ▲4.21 |
Dashboard /wp-admin | 2,206 ▼0 | 4.82 ▼0.01 | 117.67 ▲13.31 | 49.45 ▲12.16 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.04 | 45.54 ▲2.34 | 36.65 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,658 ▲124 | 25.60 ▲2.49 | 706.66 ▲12.80 | 36.72 ▼24.00 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.20 ▼0.10 | 117.89 ▲8.08 | 52.27 ▲7.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: block, gutenberg, flipbox, blocks, flip box...
flipbox/flipbox.php Passed 13 tests
The primary PHP file in "Flipbox" version 1.2.5 is used by WordPress to initiate all plugin functionality
82 characters long description:
Deliver your content beautifully to grab attention with an animated Flipbox block.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin20,107 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 12,231 |
CSS | 6 | 1,502 | 46 | 7,099 |
PHP | 10 | 103 | 164 | 698 |
JavaScript | 5 | 11 | 6 | 69 |
JSON | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 32.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 33 | |
▷ Static methods | 12 | 36.36% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.12% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin