WordPress plugin Ads scored83%from 54 tests.

About plugin

  • Plugin page: ads-easy-simple-f...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-4.2
  • WordPress version: 6.3.1
  • First release: Apr 12, 2015
  • Latest release: Apr 25, 2015
  • Number of updates: 7
  • Update frequency: every 2.1 days
  • Top authors: asmsayem (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /8,442 total downloads

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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.20MB] [CPU: ▼21.34ms] Passed 4 tests

Server-side resources used by Ads
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0447.11 ▼2.15
Dashboard /wp-admin3.10 ▼0.2531.78 ▼27.11
Posts /wp-admin/edit.php3.24 ▼0.1234.80 ▼20.28
Add New Post /wp-admin/post-new.php5.48 ▼0.4169.61 ▼29.85
Media Library /wp-admin/upload.php3.19 ▼0.0431.14 ▼8.10

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, 6 new options
New tables
wp_METAAPP_ADS
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Ads
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲6614.25 ▼0.042.01 ▼0.2141.28 ▼10.09
Dashboard /wp-admin2,213 ▲365.55 ▼0.0693.93 ▼0.2341.77 ▲0.63
Posts /wp-admin/edit.php2,121 ▲212.02 ▼0.0039.11 ▼1.7836.01 ▼1.40
Add New Post /wp-admin/post-new.php1,546 ▲2023.15 ▼0.20657.20 ▼25.9059.26 ▲2.01
Media Library /wp-admin/upload.php1,424 ▲214.26 ▲0.15103.92 ▼4.0046.63 ▲1.80

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

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 items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ads-easy-simple-for-ads-into-post/index.php:22

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 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: Please delete some tags, you are using 16 tag instead of maximum 10
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === ads-easy-simple-for-ads-into-post === )
  • Screenshots: Add images for these screenshots: #1 (Ads in live action), #2 (Setting Options), #3 (How to add the shortcode in posts/pages)
Please take inspiration from this readme.txt

ads-easy-simple-for-ads-into-post/index.php 92% from 13 tests

The primary PHP file in "Ads" version 1.0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ads-easy-simple-for-ads-into-post.php" instead of "index.php")

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 plugin295 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP44342278
CSS12017

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin