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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.71MB] [CPU: ▲4.83ms] Passed 4 tests
Server-side resources used by IssueM
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.72 | 43.15 ▲6.50 |
Dashboard /wp-admin | 4.03 ▲0.72 | 47.46 ▼1.58 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 53.83 ▲10.07 |
Add New Post /wp-admin/post-new.php | 6.77 ▲0.88 | 96.55 ▲4.31 |
Media Library /wp-admin/upload.php | 3.89 ▲0.65 | 45.54 ▲12.27 |
Server storage [IO: ▲0.40MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 46 new files
Database: no new tables, 10 new options
New WordPress options |
---|
issuem |
widget_theysaidso_widget |
widget_issuem_active_issue |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_issuem_article_list |
widget_recent-posts |
last_zeen101_dot_com_rss_item |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IssueM
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲169 | 13.64 ▼1.00 | 8.36 ▲6.75 | 38.44 ▲0.59 |
Dashboard /wp-admin | 2,248 ▲70 | 5.59 ▼0.05 | 82.73 ▼30.87 | 82.57 ▲38.08 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.05 ▲0.09 | 41.82 ▲2.07 | 36.16 ▲2.92 |
Add New Post /wp-admin/post-new.php | 1,725 ▲188 | 21.74 ▲3.47 | 738.50 ▲117.46 | 55.86 ▼5.92 |
Media Library /wp-admin/upload.php | 1,453 ▲53 | 4.16 ▼0.12 | 100.82 ▲0.99 | 76.04 ▲33.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 10 options in the database
- widget_recent-comments
- issuem
- widget_issuem_article_list
- widget_issuem_active_issue
- last_zeen101_dot_com_rss_item
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/issuem/feed-templates/feed-rss.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-feeds.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-functions.php:252
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-widgets.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/issuem/issuem.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-taxonomy.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-post-type.php:76
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/issuem/feed-templates/feed-rss2.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/issuem/issuem-cats-taxonomy.php:56
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/issuem/issuem-shortcodes.php:220
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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
These attributes need your attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
issuem/issuem.php Passed 13 tests
This is the main PHP file of "IssueM" version 2.8.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
73 characters long description:
A feature rich magazine and newspaper issue manager plugin for WordPress.
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
Good job! No executable or dangerous file extensions detected5,296 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 1,202 | 867 | 3,218 |
JavaScript | 9 | 208 | 200 | 1,057 |
PO File | 2 | 304 | 364 | 677 |
CSS | 3 | 67 | 28 | 325 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 43 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 59 | |
▷ Named functions | 59 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/issuem-64x64.png | 6.46KB | 2.54KB | ▼ 60.71% |
images/zeen-logo-wh.png | 5.54KB | 3.50KB | ▼ 36.84% |
images/zeen-logo-gr.png | 5.95KB | 3.50KB | ▼ 41.12% |
images/zeen-logo.png | 10.43KB | 3.51KB | ▼ 66.31% |
images/oie_P7fhR5VjrKGg1.png | 0.87KB | 0.74KB | ▼ 15.08% |