Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Pilot project for detection of anti-patterns and code smells in multi-language systems

Notifications You must be signed in to change notification settings

ptidejteam/PilotProjectAPCSMLS

Repository files navigation

Pilot Project for Anti-Patterns in Multi-Language Systems

Java & C (JNI)

Information about some files

  • config.properties: values of the parameters of code smells and antipatterns
  • JNILIB.dll: library with all C functions

How to use config.properties in a Java class

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

	
	try {
        	Properties props = new Properties();
			props.load(new FileInputStream("../MLS SAD/rsc/config.properties"));
			int aProp = Integer.parseInt(props.getProperty("SomeCodeSmell.Param"));
		} catch (IOException e) {
			e.printStackTrace();
		}

}

About

Pilot project for detection of anti-patterns and code smells in multi-language systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published