Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼13.29ms] Passed 4 tests
An overview of server-side resources used by Playing Card Notations
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 24.16 ▼22.95 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.97 ▼3.57 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.86 ▼4.61 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.49 ▼22.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.67 ▲1.96 |
Playing Card Notations Settings /wp-admin/themes.php?page=pcards-settings-menu | 3.38 | 34.09 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Playing Card Notations: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.27 ▲0.04 | 1.92 ▼0.09 | 37.60 ▼7.20 |
Dashboard /wp-admin | 2,216 ▲42 | 5.58 ▼0.08 | 87.86 ▼5.84 | 39.80 ▼1.80 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.01 ▲0.07 | 36.80 ▼1.75 | 32.91 ▼1.17 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 18.38 ▼4.64 | 617.38 ▼81.81 | 60.67 ▼4.29 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.15 ▼0.05 | 104.62 ▼4.64 | 43.80 ▼4.86 |
Playing Card Notations Settings /wp-admin/themes.php?page=pcards-settings-menu | 1,215 | 1.72 | 23.84 | 66.60 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=pcards-settings-menu
- > Notice in wp-content/plugins/playing-card-notations-pcn/playing-card-notations.php+88
Undefined variable: layout
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/playing-card-notations-pcn/playing-card-notations.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: board games, blackjack, poker, games, texam holdem...
playing-card-notations-pcn/playing-card-notations.php 92% from 13 tests
Analyzing the main PHP file in "Playing Card Notations" version 1.2
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("playing-card-notations-pcn.php" instead of "playing-card-notations.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected343 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 11 | 215 |
CSS | 1 | 11 | 5 | 91 |
Markdown | 1 | 17 | 0 | 32 |
JavaScript | 1 | 1 | 1 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin