Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.30ms] Passed 4 tests
Analyzing server-side resources used by Our Programs by WOWDevShop
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 67.93 ▲28.94 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.68 ▼5.98 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 52.72 ▲0.49 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.02 ▼8.42 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.69 ▲4.71 |
Program Category /wp-admin/edit-tags.php?taxonomy=program-category&post_type=program | 3.28 | 34.58 |
Add New Program /wp-admin/post-new.php?post_type=program | 3.44 | 53.69 |
All Programs /wp-admin/edit.php?post_type=program | 3.32 | 42.03 |
Server storage [IO: ▲2.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Our Programs by WOWDevShop
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.22 ▼1.08 | 1.87 ▼0.04 | 39.21 ▲0.24 |
Dashboard /wp-admin | 2,237 ▲46 | 4.85 ▼0.05 | 111.39 ▲5.52 | 43.60 ▲0.21 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▲0.06 | 39.12 ▼0.11 | 35.43 ▼4.89 |
Add New Post /wp-admin/post-new.php | 1,572 ▲53 | 23.51 ▲0.42 | 624.85 ▼91.35 | 94.19 ▲35.16 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.21 ▼0.02 | 96.40 ▼8.43 | 42.43 ▼6.60 |
Program Category /wp-admin/edit-tags.php?taxonomy=program-category&post_type=program | 1,296 | 2.13 | 27.61 | 29.29 |
Add New Program /wp-admin/post-new.php?post_type=program | 2,369 | 7.74 | 171.46 | 72.47 |
All Programs /wp-admin/edit.php?post_type=program | 1,101 | 1.93 | 30.17 | 31.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/our-programs-by-wowdevshop/includes/single-program.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/our-programs-by-wowdevshop/wowdevshop-our-programs.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: widget, company programs, programs, program category, organization programs
our-programs-by-wowdevshop/wowdevshop-our-programs.php 92% from 13 tests
The main file in "Our Programs by WOWDevShop" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("our-programs-by-wowdevshop.php" instead of "wowdevshop-our-programs.php")
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
Good job! No executable or dangerous file extensions detected147 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 39 | 57 | 147 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 1.97MB with 1.39MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.PNG | 715.93KB | 159.96KB | ▼ 77.66% |
assets/screenshot-2.PNG | 1,239.91KB | 265.16KB | ▼ 78.61% |
assets/screenshot-1.PNG | 60.50KB | 26.84KB | ▼ 55.63% |