Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼0.48ms] Passed 4 tests
Analyzing server-side resources used by WP Featured Entries
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.89 ▲0.72 |
Dashboard /wp-admin | 3.40 ▲0.10 | 50.48 ▲1.90 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 47.49 ▼0.33 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 86.02 ▼4.19 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 37.17 ▲4.22 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 13 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_jh_posts |
wp_jh_featured |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP Featured Entries
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲86 | 13.63 ▼0.75 | 1.73 ▼0.08 | 42.01 ▼9.47 |
Dashboard /wp-admin | 2,212 ▲24 | 4.87 ▼0.05 | 99.10 ▼12.69 | 80.95 ▲38.60 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 1.99 ▼0.02 | 37.00 ▼3.86 | 36.19 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,686 ▲153 | 21.79 ▼1.52 | 688.15 ▲14.19 | 52.72 ▼16.55 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.14 ▼0.08 | 98.48 ▲0.07 | 61.37 ▲18.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_jh_posts
- wp_jh_featured
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-featured-entries/vista.php:390
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-featured-entries/vista.php:390
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Contributors: Please add at least on tag
- Contributors: The plugin contributors field is not present
- Screenshots: Screenshot #1 ([Screenshot](http://jahertor.com/src/uploads/screenshot-featured.png)) image not found
wp-featured-entries/jh-featured.php 85% from 13 tests
"WP Featured Entries" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-featured-entries.php" instead of "jh-featured.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,029 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 109 | 27 | 730 |
CSS | 2 | 7 | 9 | 154 |
PO File | 2 | 38 | 0 | 108 |
JavaScript | 1 | 13 | 0 | 37 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 27 | |
▷ Named functions | 27 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.61KB | 0.51KB | ▼ 16.05% |