Benchmarks
Plugin footprint 83% 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.13MB] [CPU: ▼5.97ms] Passed 4 tests
An overview of server-side resources used by Cresta Posts Box
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 36.51 ▼2.98 |
Dashboard /wp-admin | 3.44 ▲0.13 | 44.57 ▼6.11 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.59 ▲5.64 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 84.92 ▼14.39 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.36 ▼0.41 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
crestapostsbox_settings |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Cresta Posts Box
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲40 | 14.72 ▲0.37 | 1.66 ▼0.09 | 39.47 ▼4.42 |
Dashboard /wp-admin | 2,210 ▲32 | 5.63 ▼0.01 | 84.35 ▼24.15 | 36.44 ▼7.04 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 1.95 ▲0.01 | 39.25 ▼1.08 | 36.61 ▼0.92 |
Add New Post /wp-admin/post-new.php | 6,234 ▲4,709 | 25.84 ▲2.59 | 925.96 ▲321.89 | 53.66 ▲4.88 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.16 ▼0.03 | 98.98 ▼3.16 | 39.83 ▼3.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cresta-posts-box/uninstall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Cresta Posts Box Settings Page), #2 (Cresta Posts Box Example in a post)
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cresta-posts-box/cresta-posts-box.php 92% from 13 tests
"Cresta Posts Box" version 1.3.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 241 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,080 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 40 | 28 | 717 |
CSS | 3 | 2 | 4 | 261 |
JavaScript | 3 | 10 | 8 | 95 |
XML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
6 compressed PNG files occupy 0.17MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/banner-cresta-social-share-counter.png | 60.60KB | 63.49KB | 0.00% |
images/banner-cresta-whatsapp-chat.png | 6.98KB | 7.38KB | 0.00% |
images/banner-cresta-posts-box-pro.png | 29.81KB | 31.69KB | 0.00% |
screenshot-1.png | 47.07KB | 46.74KB | ▼ 0.72% |
images/5-stars.png | 0.34KB | 0.39KB | 0.00% |