Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲2.53ms] Passed 4 tests
Analyzing server-side resources used by EV Crosswords
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 43.57 ▲5.69 |
Dashboard /wp-admin | 3.42 ▲0.11 | 53.90 ▲8.16 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 53.34 ▲5.10 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 91.47 ▼8.82 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 43.13 ▲12.08 |
Add New /wp-admin/post-new.php?post_type=ev_crossword | 2.83 | 15.31 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=ev_crossword | 3.33 | 43.62 |
crosswords /wp-admin/edit.php?post_type=ev_crossword | 3.37 | 43.76 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
category_children |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for EV Crosswords
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲120 | 13.14 ▼1.23 | 2.01 ▼0.05 | 45.33 ▼4.96 |
Dashboard /wp-admin | 2,250 ▲59 | 4.85 ▼0.04 | 140.89 ▲35.58 | 53.16 ▲8.74 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.00 ▼0.01 | 35.80 ▲0.90 | 33.92 ▼1.18 |
Add New Post /wp-admin/post-new.php | 1,572 ▲36 | 23.35 ▲0.12 | 647.97 ▲2.64 | 52.37 ▼5.06 |
Media Library /wp-admin/upload.php | 1,435 ▲44 | 4.22 ▲0.06 | 93.53 ▼6.81 | 43.65 ▲1.11 |
Add New /wp-admin/post-new.php?post_type=ev_crossword | 892 | 2.03 | 22.81 | 27.05 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=ev_crossword | 1,493 | 2.14 | 27.09 | 32.36 |
crosswords /wp-admin/edit.php?post_type=ev_crossword | 1,144 | 1.93 | 30.57 | 30.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- category_children
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_data() in wp-content/plugins/ev-crosswords/ev-crosswords.php:33
- > PHP Warning
Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ev-crosswords/views/crossword/single-crossword.php on line 34
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/ev-crosswords/views/newcw.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_block_template_html() in wp-content/plugins/ev-crosswords/views/crossword/single-block-crossword.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ev-crosswords/views/crossword/single-crossword.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 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
4 plugin tags: wordpress, crosswords, word games, entertainment
ev-crosswords/ev-crosswords.php Passed 13 tests
"EV Crosswords" version 1.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
90 characters long description:
Crossword Plugin for anyone to easily create and add Crosswords to their Wordpress website
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
Success! There were no dangerous files found in this plugin1,170 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 7 | 47 | 476 |
PHP | 5 | 42 | 50 | 466 |
XML | 2 | 0 | 0 | 201 |
HTML | 1 | 2 | 40 | 15 |
CSS | 2 | 0 | 6 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin