Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼4.07ms] Passed 4 tests
A check of server-side resources used by Infobox
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 41.08 ▼1.89 |
Dashboard /wp-admin | 3.46 ▲0.15 | 49.02 ▼3.48 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.18 ▲2.67 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 94.05 ▼13.59 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 44.50 ▲8.06 |
Server storage [IO: ▲7.41MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Infobox
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.24 ▼0.34 | 1.63 ▼0.14 | 39.69 ▼2.52 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▲0.04 | 85.49 ▼2.79 | 40.82 ▼0.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.13 | 39.79 ▲1.50 | 36.46 ▼1.39 |
Add New Post /wp-admin/post-new.php | 1,668 ▲137 | 24.17 ▲1.14 | 661.85 ▼16.78 | 37.19 ▼22.29 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.21 ▼0.01 | 97.33 ▼3.80 | 45.69 ▲4.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/infobox/infobox.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: info box, infobox, gutenberg, blocks, icon box...
infobox/infobox.php Passed 13 tests
The entry point to "Infobox" version 1.2.4 is a PHP file that has certain tags in its header comment area
74 characters long description:
Highlight Your Key Features & Hold Audience Attention with Info Box Block.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin18,133 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 12,231 |
CSS | 7 | 1,504 | 55 | 5,076 |
PHP | 9 | 106 | 161 | 718 |
JavaScript | 5 | 14 | 7 | 92 |
JSON | 2 | 0 | 0 | 16 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin