Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.33ms] Passed 4 tests
Analyzing server-side resources used by Scientific and Interactive Blocks - inseri core
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 39.13 ▼2.45 |
Dashboard /wp-admin | 3.43 ▲0.08 | 46.86 ▼13.76 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.36 ▼4.27 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 86.42 ▼8.82 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.05 ▲6.79 |
Server storage [IO: ▲40.59MB] [DB: ▲0.07MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- Total filesystem usage must be limited to 25MB (currently using 40.59MB)
Filesystem: 97 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Scientific and Interactive Blocks - inseri core: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲89 | 14.99 ▲0.26 | 34.68 ▲32.94 | 41.98 ▼10.72 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.02 | 92.50 ▲1.50 | 39.55 ▲1.51 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.98 ▼0.05 | 40.72 ▲2.17 | 34.72 ▲0.05 |
Add New Post /wp-admin/post-new.php | 6,353 ▲4,827 | 58.10 ▲34.46 | 2,557.13 ▲1,938.41 | 37.93 ▼16.28 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▲0.00 | 98.03 ▲0.28 | 40.22 ▼2.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues 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
5 plugin tags: blocks, wordpress blocks, gutenberg blocks, gutenberg, inseri
inseri-core/inseri-core.php Passed 13 tests
The principal PHP file in "Scientific and Interactive Blocks - inseri core" v. 0.3.2 is loaded by WordPress automatically on each request
70 characters long description:
Scientific and Interactive Gutenberg Blocks to facilitate Open Science
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
Good job! No executable or dangerous file extensions detected1,125 lines of code in 92 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 14 | 0 | 0 | 799 |
CSS | 4 | 22 | 8 | 114 |
PHP | 33 | 15 | 37 | 101 |
Markdown | 1 | 26 | 0 | 65 |
JavaScript | 40 | 0 | 0 | 46 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 1 | |
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 | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin