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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▲0.08ms] Passed 4 tests
Analyzing server-side resources used by Article Forge
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.93 ▼6.30 |
Dashboard /wp-admin | 3.43 ▲0.13 | 49.72 ▲4.53 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.96 ▲0.71 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 95.52 ▲9.07 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.53 ▲1.40 |
New Article /wp-admin/post-new.php?post_type=articleforge_summary | 3.60 | 56.53 |
All Articles /wp-admin/edit.php?post_type=articleforge_summary | 3.31 | 32.01 |
Article Forge /wp-admin/options-general.php?page=articleforge | 3.30 | 30.85 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=articleforge_summary | 3.35 | 34.44 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=articleforge_summary | 3.35 | 38.35 |
Server storage [IO: ▲0.09MB] [DB: ▲0.08MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
articleforge_ver |
widget_recent-posts |
articleforge_rewrite_rules |
articleforge_options |
category_children |
Browser metrics Passed 4 tests
An overview of browser requirements for Article Forge
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲136 | 13.24 ▼1.12 | 1.96 ▼0.20 | 41.75 ▼9.09 |
Dashboard /wp-admin | 2,245 ▲60 | 5.90 ▲1.03 | 105.90 ▼4.77 | 42.17 ▼3.73 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 1.99 ▼0.01 | 39.31 ▼0.29 | 33.71 ▼3.47 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 17.69 ▼5.93 | 656.63 ▲29.62 | 54.27 ▲3.76 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.23 ▲0.03 | 96.26 ▲1.51 | 44.62 ▲3.24 |
New Article /wp-admin/post-new.php?post_type=articleforge_summary | 2,709 | 7.97 | 188.01 | 68.45 |
All Articles /wp-admin/edit.php?post_type=articleforge_summary | 1,181 | 1.93 | 30.41 | 31.12 |
Article Forge /wp-admin/options-general.php?page=articleforge | 955 | 2.19 | 23.23 | 31.55 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=articleforge_summary | 1,343 | 2.14 | 25.25 | 31.05 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=articleforge_summary | 1,479 | 2.14 | 26.29 | 31.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, 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 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=articleforge_summary
- > Notice in wp-content/plugins/article-forge/ArticleForge/Admin.php+83
Trying to get property 'post_type' of non-object
- > GET request to /wp-admin/options-general.php?page=articleforge
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=articleforge
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function ArticleForge\\import() in wp-content/plugins/article-forge/ArticleForge/Content.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function import() in wp-content/plugins/article-forge/content/default/archive-summary.php:10
- > PHP Notice
Trying to get property 'post_name' of non-object in wp-content/plugins/article-forge/content/default/article-section.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/article-forge/content/default/article-section.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function import() in wp-content/plugins/article-forge/content/default/archive-summary.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function the_permalink() in wp-content/plugins/article-forge/content/default/loop-article-summary.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function ArticleForge\\Admin\\import() in wp-content/plugins/article-forge/ArticleForge/Admin/Settings.php:4
- > PHP Notice
Trying to get property 'post_title' of non-object in wp-content/plugins/article-forge/content/default/article-section.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Articleforge\\Content' not found in wp-content/plugins/article-forge/content/default/search-summary.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function import() in wp-content/plugins/article-forge/content/default/single-summary.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #3 (Screenshot of the plugin display page)
article-forge/main.php 77% from 13 tests
This is the main PHP file of "Article Forge" version 1.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("article-forge.php" instead of "main.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
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,711 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 328 | 475 | 1,576 |
JavaScript | 4 | 11 | 19 | 102 |
CSS | 3 | 2 | 10 | 33 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 12.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 11 | 68.75% |
Methods | 116 | |
▷ Static methods | 27 | 23.28% |
▷ Public methods | 101 | 87.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 12.93% |
Functions | 12 | |
▷ Named functions | 10 | 83.33% |
▷ Anonymous functions | 2 | 16.67% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected