Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.23ms] Passed 4 tests
This is a short check of server-side resources used by eDoc Post Navigation Sliders
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.59 ▲2.52 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.56 ▼5.62 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.20 ▲1.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.89 ▲5.61 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.89 ▲1.19 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for eDoc Post Navigation Sliders
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.31 ▼1.07 | 1.65 ▲0.03 | 43.10 ▲0.79 |
Dashboard /wp-admin | 2,224 ▲39 | 4.90 ▲0.00 | 96.08 ▼6.61 | 73.11 ▲27.57 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.99 ▲0.03 | 37.94 ▲2.82 | 33.49 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.30 ▲5.72 | 765.21 ▲90.47 | 53.35 ▼14.38 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.27 ▲0.05 | 100.08 ▲4.18 | 43.76 ▲1.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Admin Panel), #2 (Frontend Display)
edoc-post-navigation-sliders/edoc-post-navigation.php 85% from 13 tests
The entry point to "eDoc Post Navigation Sliders" version 1.21 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("edoc-post-navigation-sliders.php" instead of "edoc-post-navigation.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin3,868 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 495 | 9 | 3,625 |
PHP | 1 | 25 | 21 | 189 |
JavaScript | 3 | 10 | 11 | 54 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close.png | 5.16KB | 1.64KB | ▼ 68.14% |
images/logoNewSquare.png | 0.75KB | 0.68KB | ▼ 9.03% |
images/icon-48-dashboard.png | 4.04KB | 2.30KB | ▼ 43.15% |
images/flag.png | 3.75KB | 1.26KB | ▼ 66.32% |
images/move.png | 1.00KB | 0.16KB | ▼ 83.80% |