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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.92ms] Passed 4 tests
An overview of server-side resources used by Beehive
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.28 ▼5.48 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.12 ▼1.62 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.86 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.44 ▼3.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.91 ▼1.24 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_beehive_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Beehive
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲158 | 13.60 ▼1.08 | 8.51 ▲6.23 | 44.32 ▲0.05 |
Dashboard /wp-admin | 2,209 ▲21 | 5.85 ▼0.16 | 97.00 ▼20.35 | 41.27 ▼1.22 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.98 ▼0.01 | 38.93 ▲3.54 | 36.58 ▲1.99 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.21 ▲0.01 | 637.05 ▼3.13 | 52.72 ▲0.42 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.22 ▼0.03 | 93.56 ▼10.19 | 43.91 ▲1.72 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_beehive_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/beehive/partials/admin/beehive_widget_settings.php
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Beehive widget settings configuration 1), #2 (Preview of the widget settings above), #3 (Beehive widget settings configuration 2), #4 (Preview of the widget settings above), #5 (Beehive widget settings configuration 3), #6 (Preview of the widget settings above)
- Donate link: Please fix this invalid url: ""
- Tags: You are using too many tags: 17 tag instead of maximum 10
beehive/beehive.php Passed 13 tests
The main PHP script in "Beehive" version 1.0.1 is automatically included on every request by WordPress
83 characters long description:
Serve your readers an easy access to your posts or pages through WordPress widgets.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin378 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 37 | 29 | 378 |
JavaScript | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.81MB with 0.51MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 104.80KB | 24.40KB | ▼ 76.72% |
screenshot-3.png | 12.09KB | 6.87KB | ▼ 43.22% |
screenshot-1.png | 12.20KB | 6.87KB | ▼ 43.72% |
screenshot-6.png | 336.80KB | 71.47KB | ▼ 78.78% |
screenshot-4.png | 351.21KB | 92.80KB | ▼ 73.58% |