Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▲3.59ms] Passed 4 tests
Analyzing server-side resources used by Project Guide
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 46.61 ▲3.97 |
Dashboard /wp-admin | 3.49 ▲0.19 | 57.81 ▲4.62 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 58.94 ▲8.88 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 91.30 ▼0.16 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 44.76 ▲5.94 |
Builder /wp-admin/edit.php?post_type=projectguide&page=pgnavigation | 3.41 | 41.83 |
Project Guide /wp-admin/index.php?page=projectguide | 3.38 | 39.65 |
Settings /wp-admin/edit.php?post_type=projectguide&page=pgsettings | 3.38 | 39.45 |
New Topic /wp-admin/post-new.php?post_type=projectguide | 3.53 | 53.33 |
Project Guide /wp-admin/edit.php?post_type=projectguide | 3.44 | 52.28 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Project Guide
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲119 | 13.41 ▼0.96 | 1.76 ▼0.06 | 39.17 ▼6.79 |
Dashboard /wp-admin | 2,257 ▲65 | 6.06 ▲1.16 | 114.64 ▼4.09 | 86.69 ▲39.49 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.07 ▲0.03 | 40.25 ▲2.15 | 35.06 ▼2.53 |
Add New Post /wp-admin/post-new.php | 1,712 ▲198 | 22.81 ▲5.34 | 780.17 ▲58.48 | 44.16 ▼7.02 |
Media Library /wp-admin/upload.php | 1,433 ▲51 | 4.28 ▲0.11 | 100.62 ▼5.79 | 48.87 ▲4.28 |
Builder /wp-admin/edit.php?post_type=projectguide&page=pgnavigation | 950 | 2.18 | 28.04 | 57.89 |
Project Guide /wp-admin/index.php?page=projectguide | 845 | 2.06 | 25.95 | 42.78 |
Settings /wp-admin/edit.php?post_type=projectguide&page=pgsettings | 1,008 | 2.10 | 26.07 | 50.86 |
New Topic /wp-admin/post-new.php?post_type=projectguide | 2,219 | 7.77 | 182.67 | 128.80 |
Project Guide /wp-admin/edit.php?post_type=projectguide | 1,115 | 2.00 | 33.75 | 31.94 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/project-guide/project-guide.php
- > /wp-content/plugins/project-guide/inc/admin.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/project-guide/inc/posttype.php:54
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
project-guide/project-guide.php Passed 13 tests
"Project Guide" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
71 characters long description:
Create a simple and awesome project guide in your WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,630 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 185 | 533 | 1,004 |
CSS | 3 | 75 | 14 | 921 |
PHP | 4 | 171 | 152 | 583 |
PO File | 1 | 47 | 48 | 108 |
Markdown | 1 | 12 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
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 |
img/pg-logo-nav.png | 1.13KB | 0.18KB | ▼ 83.79% |